Cerumen is the medical term for earwax. It is made up of oil, bacteria, dead skin, trapped water, and hair. It protects the ear from external objects and harmful bacteria.