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 220.127.116.11, 18.104.22.168, and Brunnock.