Earwax is a natural substance produced by glands in the ear canal. It’s a protective mechanism, trapping dust, debris, and microorganisms, preventing them from reaching the eardrum. It also helps to lubricate the ear canal and prevent it from drying out.