Ion exchange resin is used in water softeners to remove calcium and magnesium in the water.it prevent the lime scales built up in the pipes,shower caps and also in the geysers.