Demineralization or deionization is the process of removing mineral salts from water. Ion exchange is a highly effective method for achieving this. Cation exchange resins replace positive ions (like Ca²⁺, Mg²⁺, Na⁺) with H⁺ ions, and anion exchange resins replace negative ions (like Cl⁻, SO₄²⁻, HCO₃⁻) with OH⁻ ions. The H⁺ and OH⁻ ions then combine to form water (H₂O).