A frontalis sling is a surgical procedure used to correct severe ptosis, a condition where the upper eyelid droops over the eye. This procedure is commonly performed in pediatric patients when the levator muscle, responsible for lifting the eyelid, does not function properly.