Earwax is a waxy material produced by sebaceous glands inside the ear. It cleans, lubricates and protects the lining of the ear by trapping dirt and repelling water. Earwax is slightly acidic and has antibacterial properties. Without earwax, the skin inside your ear would become dry, cracked, infected or waterlogged and sore