Stye and chalazion are not the same. Although both conditions affect the eyelid, a stye occurs at the base of eyelashes whereas a chalazion occurs deeper in the eyelid where oil glands are located. Furthermore, a stye is very painful while a chalazion is usually a painless condition.