Lithium, magnesium, potassium and many other ions usually occur together in natural and industrial solutions. Separating them from one another is a challenge, for example, in the extraction and processing of raw materials.