Ear wax is a natural substance produced by the body to protect the ear canal from dust, bacteria, and foreign particles.