In chemistry, soap is a salt of a fatty acid. Soaps are mainly used as surfactants for washing, bathing, and cleaning, but they are also used in textile spinning and are important components of lubricants. Soaps for cleansing are obtained by treating vegetable or animal oils and fats with a strongly alkaline solution. Fats and oils are composed of triglycerides; three molecules of fatty acids are attached to a single molecule of glycerol. The alkaline solution, often called lye, brings about a chemical reaction known as saponification. In saponification, the fats are first hydrolyzed into free fatty acids, which then combine with the alkali to form crude soap.
Contributions by 188.8.131.52, 184.108.40.206, and Brunnock.