Sorbic acid is a natural compound commonly used as a food preservative to inhibit the growth of mold, yeast, and some bacteria. It is known for its effectiveness in extending the shelf life of various food products, particularly in dairy, baked goods, and beverages, by preventing spoilage caused by microbial contamination.