A water softener eradicates hard water minerals via a resin tank filled with ion exchange resin beads. These beads swap calcium and magnesium ions for either sodium or potassium ions, thereby 'softening' the water.