(a) Soap is sodium or potassium: Salt of higher fatty acids such as oleic acid (C17H33COOH), stearic acid (C17H35COOH), palimitic acid (C15H31COOH), etc. A soap is a sodium or potassium salt of long chain fatty acids. Hard water contains salts of calcium and magnesium. On adding soap to water, calcium and magnesium ions present in water displace sodium or potassium ions from the soap molecules forming an insoluble substance called scum. Scum results in wastage of soap.
(b) Cleansing action of soaps: The oily spot present on clothes is organic in nature and insoluble in water. Therefore, it cannot be removed by only washing with water. When soap is dissolved in water, its hydrophobic ends attach themselves to the oily spot and remove it from the cloth. Then, the molecules of soap arrange themselves in the form of micelle and trap the dirt at the centre of the cluster. These micelles remain suspended in the water. Hence, the oily spots are easily rinsed away by water.