Earwax (cerumen) is a yellowish waxy substance produced by healthy ears. Earwax protects the ear from bacteria, water and foreign particles. It also assists in the cleaning and lubrication of the ear canal. Usually, excess wax is removed from the ear canal naturally. If a buildup does occur, the earwax will become hard and block the ear.