Water softening is the reduction of the concentration of calcium, magnesium, and other ions in hard water. These "hardness ions" can cause a variety of undesired effects including interfering with the action of soaps, the build up of limescale, which can foul plumbing, and galvanic corrosion.