Earwax is a natural lubricant that helps to protect the ear canal against dust, dirt, bacteria, and foreign bodies. It also helps to fight infection and prevents dry or itchy ears by moisturizing the skin inside your ear.