Water softeners utilize a resin to facilitate an ion exchange. As water passes through the resin bed in a softener the resin will exchange a sodium chloride (soft) ion for calcium or magnesium (hard) ion. Thus, the resin removes the hard water ions from the water.