Soap is the sodium or potassium salt of long chain of fatty acid. Fatty acids when treated with NaOH or KOH forms Soap. This process is called as Saponification. Examples of Soap are as follow,
1. Sodium Stearate C₁₇H₃₅COONa
2. Potassium Oleate C₁₇H₃₃COOK Reaction of Soap with MgCl₂;
When Soap is treated with MgCl₂ or CaCl₂ it forms insoluble precipitate called S.C.U.M. The reactions with MgCl₂ are as follow,