Sorbic acid is a natural organic compound used as a preservative in food and beverages to inhibit the growth of mold, yeast, and fungi. It is also used in cosmetics and pharmaceuticals.