Citric acid anhydrous is used primarily as an acidity regulator and flavoring agent in foods and beverages, in cleaning products to remove mineral deposits and hard water stains, and as a preservative in pharmaceuticals.It is also used in cosmetics to control pH and to make cosmetics.