Brine is an auxiliary agent in water softening and water purification systems involving ion exchange technology. The most common example are household dishwashers, utilizing sodium chloride in form of dishwasher salt. Brine is not involved in the purification process itself, but used for regeneration of ion-exchange resin on cyclical basis. The water being treated flows through the resin container until the resin is considered exhausted and water is purified to a desired level. Resin is then regenerated by sequentially backwashing the resin bed to remove accumulated solids, flushing removed ions from the resin with a concentrated solution of replacement ions, and rinsing the flushing solution from the resin. After treatment, ion-exchange resin beads saturated with calcium and magnesium ions from the treated water, are regenerated by soaking in brine containing 6–12% NaCl. The sodium ions from brine replace the calcium and magnesium ions on the beads.