Citric acid and ascorbic acid are two similar substances that occur naturally in fruits and vegetables, especially citrus fruits such as lemons and limes. Both acids have nutritional benefits, and they're commonly used in food manufacturing and as a preservative, but there are several differences between the two compounds, including a variation in flavor.