Fermentation is a metabolic process in which microorganisms like yeast and bacteria break down carbohydrates like sugars and convert them into simpler substances like alcohol or acid. Yeast performs fermentation to obtain energy by converting sugar into alcohol, while bacteria convert carbohydrates into lactic acid. Fermentation plays a role in producing many foods like beer, wine, bread, yogurt and cheese.