Citric acid occurs naturally in lemons, limes, pineapples, grapefruits, berries (not blueberries), tomatoes, broccoli, carrots, and some varieties of peppers.