Ear wax, also known as cerumen, is a waxy substance produced by the ceruminous glands in the ear canal. These glands are specialized sweat glands located in the skin of the ear canal, and their primary function is to protect and lubricate the ear. Ear wax helps to prevent the ears from drying out, and it also has antimicrobial properties that can help protect the ear canal from infections.
Ear wax is composed of a mixture of secretions from the ceruminous glands, dead skin cells, and hair. It starts as a soft, yellowish wax and gradually hardens over time, forming a protective barrier. The wax typically migrates from the deeper parts of the ear canal to the opening, where it eventually dries up and falls out or is washed away during activities like bathing.