Citric acid can be derived from any of a variety of fruits, such as lemons and limes. It is the main substance giving citrus fruits their sour taste. Citric acid manufactured by chemical means is used as an additive or preservative in foods, especially soft drinks and candies.