Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
Ceruminous glands are specialized sweat glands located subcutaneously in the external auditory canal, in the outer third. Ceruminous glands are simple, coiled, tubular glands made up of an inner secretory layer of cells and an outer myoepithelial layer of cells. They are classed as apocrine glands. The glands drain into larger ducts, which then drain into the guard hairs that reside in the external auditory canal. Here they produce cerumen, or earwax, by mixing their secretion with sebum and dead epidermal cells. Cerumen keeps the eardrum pliable, lubricates and cleans the external auditory canal, waterproofs the canal, kills bacteria, and serves as a barrier to trap foreign particles (dust, fungal spores, etc.) by coating the guard hairs of the ear, making them sticky.
^ Saladin, KS (2010). Anatomy and Physiology: The Unity of Form and Function (5th ed.). New York: McGraw-Hill. Ceruminous Glands, p. 204 (220). ISBN978-0-39-099995-5.