Note: Sodium citrate is used as a builder to soften water in laundry detergents. It sequesters the calcium and magnesium in water which normally will interfere with the detergent action of the surfactants. The citrate also acts as an anti-redeposition agent.