Surfactants are chemical compounds that decrease the surface tension or interfacial tension between two liquids, a liquid and a gas, or a liquid and a solid. The word "surfactant" is a blend of surface-active agent, coined . As they consist of a water-repellent and a water-attracting part, they enable water and oil to mix; they can form foam and facilitate the detachment of dirt. 
Surfactants are among the most widespread and commercially important chemicals. Private households as well as many industries use them in large quantities as detergents and cleaning agents, but also for example as emulsifiers, wetting agents, foaming agents, antistatic additives, or dispersants. 
Surfactants occur naturally in traditional plant-based detergents, e.g. horse chestnuts or soap nuts; they can also be found in the secretions of some caterpillars. Today the most commonly used surfactants, above all anionic linear alkylbenzene sulfates (LAS), are produced from petroleum products. However, surfactants are (again) increasingly produced in whole or in part from renewable biomass, like sugar, fatty alcohol from vegetable oils, by-products of biofuel production, or other biogenic material.