Yeast, the most common one being S. cerevisiae, is used in baking as a leavening agent, where it converts the food/fermentable sugars present in dough into the gascarbon dioxide. This causes the dough to expand or rise as gas forms pockets or bubbles.