Why do you have wax in your ears?
Cleaning of the ear canal occurs as a result of the "conveyor belt" process of epithelial migration, aided by jaw movement. Cells formed in the centre of the tympanic membrane migrate outwards from the umbo (at a rate equivalent to that of fingernail growth) to the walls of the ear canal, and accelerate towards the entrance of the ear canal. The cerumen in the canal is also carried outwards, taking with it any dirt, dust, and particulate matter that may have gathered in the canal. Jaw movement assists this process by dislodging debris attached to the walls of the ear canal, increasing the likelihood of its expulsion. Lubrication prevents desiccation, itching, and burning of the skin within the ear canal (known as asteatosis). The lubricative properties arise from the high lipid content of the sebum produced by the sebaceous glands. In wet-type cerumen at least, these lipids include cholesterol, squalene, and many long-chain fatty acids and alcohols. While studies conducted up until the 1960s found little evidence supporting an antibacterial role for cerumen, more recent studies have found that cerumen has a bactericidal effect on some strains of bacteria. Cerumen has been found to be effective in reducing the viability of a wide range of bacteria (sometimes by up to 99%), including Haemophilus influenzae, Staphylococcus aureus, and many variants of Escherichia coli. The growth of two fungi commonly present in otomycosis was also significantly inhibited by human cerumen. These antimicrobial properties are due principally to the presence of saturated fatty acids, lysozyme and, especially, to the relatively low pH of cerumen (typically around 6.1 in normal individuals).  1. http://en.wikipedia.org/wiki/Ear_wax