Benzoic acid (C7H6O2) included in edible coatings inhibits the growth of molds, yeasts and some bacteria.
Sorbic acid is used as a preservative in a wide variety of foods. Sorbic acid retards the growth of yeast and moulds and is usually added to foods as a salt.