cation exchange
In water softening, this is principally the exchange of calcium and magnesium ions in water for sodium ions in an insoluble ion exchange material.