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 the dough into the gas carbon dioxide. This causes the dough to expand or rise as gas forms pockets or bubbles. When the dough is baked, the yeast dies and the air pockets “set”, giving the baked product a soft and spongy texture.