Yeast is a fungus. We normally see it as small dried lumps, and in this form it does nothing, for it needs water, food and warmth to begin growing.
When it does start to grow it releases carbon dioxide gas. This forms bubbles when trapped in dough as you can see here in this fair test...