During saponification, the base (also known as lye) breaks down the ester bonds in the triglyceride, releasing the fatty acids and forming glycerol as a byproduct. The fatty acids then react with the alkali metal ions from the base to create soap molecules, also known as salts of fatty acids.
The general chemical equation for saponification is:
Triglyceride + Base (NaOH or KOH) → Glycerol + Soap (fatty acid salts)
For example, when sodium hydroxide is used, the reaction can be represented as follows:
Triglyceride + 3 NaOH → Glycerol + 3 Na+ (fatty acid salts)
This reaction results in the formation of soap molecules (sodium salts of fatty acids) and glycerol. The soap molecules have hydrophilic (water-loving) heads, which interact with water, and hydrophobic (water-repelling) tails, which interact with oils and dirt. This property enables soap to act as a surfactant, facilitating the removal of dirt and grease from surfaces.