Foods like bread beer and wine are made through alcoholic fermentation.
Like lacto-fermentation, the organisms (yeast in this case) consume sugars but instead of producing lactic acid they produce ethanol and carbon dioxide. Carbon dioxide is what is responsible for making bread rise.