A stye, also known as a hordeolum, is a bacterial infection of an oil gland in the eyelid. This results in a red tender bump at the edge of the eyelid. The outside or the inside of the eyelid can be affected.The cause of a stye is usually a bacterial infection by Staphylococcus aureus. The internal ones are due to infection of the meibomian gland while the external ones are due to an infection of the gland of Zeis.