Citric acid is an organic compound with the chemical formula HOC(CH₂CO₂H)₂. Usually encountered as a white solid, it is a weak organic acid. It occurs naturally in citrus fruits. In biochemistry, it is an intermediate in the citric acid cycle, which occurs in the metabolism of all aerobic organisms.