Any of various solid or semi-solid substances. There are two main types. Mineral waxes are mixtures of hydrocarbons with high molecular weights. Parafin wax, obtained from*petroleum, is an example. Waxes secreted by plants or animals are mainly esters of fatty acids and usually have a protective function.