Citric Acid (Anhydrous) Because of its acidic, sour-tasting nature, citric acid is predominantly used as a flavoring and preserving agent especially in soft drinks and candies. Citric acid is a weak organic acid that has the molecular formula C₆H₈O₇.