Ion chromatography separates ions and polar molecules based on their affinity for an ion exchanger. There are two main types: anion exchange and cation exchange. Ion exchange chromatography uses a stationary phase with ionizable functional groups that can bind to targeted molecules in a mixture. Cation exchange columns use a stationary phase like sulfonate groups, while anion exchange columns use quaternary ammonium groups. Ion exchange resins are made of polymers like polystyrene cross-linked with divinylbenzene that are modified to introduce functional groups to attract cations or anions.