Fermentation occurs when the yeast and bacteria in dough convert carbohydrates (simple sugars) to carbon dioxide and alcohol. A process that causes gas bubbles to form and has a leavening effect on the dough. By-products of the fermentation process give flavour to the dough.