A sty is a red, swollen bump on the eyelid. It forms when bacteria gets into the oil glands of the eyelashes.