Ion exchange chromatography separates ions based on their charge. The column contains resin beads that exchange one type of ion for another. Cation exchange resins contain negatively charged groups that bind positively charged cations, while anion exchange resins contain positively charged groups that bind negatively charged anions. Samples are loaded onto the column and different ions elute at different rates depending on their interaction with the charged resin. Ion exchange chromatography is useful for desalting samples and separating mixtures of biological or inorganic ions.