Primarily used to soften water by removing hardness (calcium and magnesium ions) while allowing smaller ions like sodium and chloride to pass through.