Used in photographic chemicals, textile after-treatment, adhesives, detergents, preservatives, flame retardants, waterproofing of magnesium oxide, chemical synthesis of sodium perborate, carbonation process for borax production, and as a herbicide in agriculture.