Ion exchange can also be used to remove hardness from water by exchanging calcium and magnesium ions for sodium ions in an ion-exchange column. Liquid-phase (aqueous) ion-exchange desalination has been demonstrated. In this technique anions and cations in salt water are exchanged for carbonate anions and calcium cations respectively using electrophoresis. Calcium and carbonate ions then react to form calcium carbonate, which then precipitates, leaving behind fresh water. The desalination occurs at ambient temperature and pressure and requires no membranes or solid ion exchangers. The theoretical energy efficiency of this method is on par with electrodialysis and reverse osmosis.