A chalazion is a small bump that appears on the upper or lower eyelid. A chalazion is similar to a stye but is usually smaller and less painful.