For the most part, water softeners can be either salt-based or water-based. Salt-based water softeners use sodium chloride to soften the water. On the other hand, water-based ones make use of ion exchange to remove magnesium and calcium ions.