A water softener removes hardness minerals like calcium and magnesium via a process called Ion-Exchange.