A water softener is a device that, by mechanical or chemical means, treats water to reduce the content of mineral salts and their incrustations in water pipes and tanks. Water with a high content of calcium or magnesium salts (hard water) tends to form mineral incrustations on the walls of pipes. In some cases they block almost the entire pipe section.