Sorbic acid is a white crystalline compound with the chemical formula C6H5O7. It is used as a food additive and preservative.