Ion exchange

The replacement of undesirable ions with a certain charge by desirable ions of the same charge in a solution, by an ion-permeable absorbent.


Source: Corrosion-Doctors.org

Wikipedia:  https://en.wikipedia.org/wiki/Ion_exchange