Citric acid is an organic compound that naturally occurs in citrus fruits such as lemons, limes, and oranges. It is often added to packaged foods as a preservative or flavor enhancer and can also serve as an acidity regulator.