A chalazion is a benign, painless bump or nodule inside the upper or lower eyelid. Chalazia result from healed internal styes that no longer are infectious. These cyst-like nodules form around an oil gland within the eyelid, resulting in red, swollen eyelids.