Yeast consumes sugar and produces carbon dioxide and alcohol as by-products. While the gas trapped in the dough creates a rise of it and a light texture.