Earwax, also known as cerumen, is produced inside your ears to keep them clean and free of germs. It usually passes out of the ears harmlessly, but sometimes too much can build up and block the ears.
It protects the skin of the human ear canal, assists in cleaning and lubrication, and also provides some protection from bacteria, fungi, insects and water. In other words, ear wax is a good thing.