Citric acid has the compound formula
C₆H₈O₇. It is an organic acid found in various plants, especially citrus fruits such as lemons, oranges, and grapefruits. Citric acid has a sour taste and can be used to add tartness to foods, beverages, and other products. It is also used as a preservative.