Food fermentation is the conversion of sugars and other carbohydrates into alcohol or preservative organic acids and carbon dioxide. All three products have found human uses. The production of alcohol is made use of when fruit juices are converted to wine, when grains are made into beer, and when foods rich in starch, such as potatoes, are fermented and then distilled to make spirits such as gin and vodka. The production of carbon dioxide is used to leaven bread. The production of organic acids is exploited to preserve and flavor vegetables and dairy products.
Food fermentation serves five main purposes: to enrich the diet through development of a diversity of flavors, aromas, and textures in food substrates; to preserve substantial amounts of food through lactic acid, alcohol, acetic acid, and alkaline  fermentations; to enrich food substrates with protein, essential amino acids, and vitamins; to eliminate antinutrients; and to reduce cooking time and the associated use of fuel.