Water softening is the removal of calcium, magnesium, and certain other metal cations in hard water. The resulting soft water is more compatible with soap and extends the lifetime of plumbing. Water softening is usually achieved using lime softening or ion-exchange resins.
The presence of certain metal ions like calcium and magnesium principally as bicarbonates, chlorides, and sulfates in water causes a variety of problems] Hard water leads to the buildup of limescale, which can foul plumbing, and promote galvanic corrosion. In industrial scale water softening plants, the effluent flow from the re-generation process can precipitate scale that can interfere with sewage systems. effluent flow from the re-generation process can precipitate scale that can interfere with sewage systems.
The slippery feeling experienced when using soap with soft water occurs because soaps tend to bind to fats in the surface layers of skin, making soap molecules difficult to remove by simple dilution. In contrast, in hard-water areas the rinse water contains calcium or magnesium ions which form insoluble salts, effectively removing the residual soap from the skin but potentially leaving a coating of insoluble stearates on tub and shower surfaces, commonly called soap scum.
Which of these effects is considered more or less desirable varies from person to person, and those who dislike the sliminess and difficulty of washing off soap caused by soft water may harden the water by adding chemicals such as baking soda, calcium chloride or magnesium sulphate.