After the bread dough has been kneaded, it must be allowed to rest in order for the yeast to continue with the fermentation. The fermentation produces carbon dioxide gas, which becomes trapped within the dough, resulting in the rising action that is necessary to develop the texture and flavor of the final product.