See
ion exchange
.