Yeast is a microorganism (a fungus). It feeds on sugar and gives out carbon dioxide and alcohol: this is fermentation.
Yeast works best in warm water (about 35 °C). It is slow when cold and is killed when the water is too hot.
No sugar means no food, so no gas.
This is why bread and idli batter rise: tiny bubbles of carbon dioxide get trapped inside.
Do it for real: three bottles, a teaspoon of dry yeast and two of sugar each, water at different temperatures and a balloon on each neck. Check after 30 minutes.
This free yeast balloon simulation is used in these chapters. Open a chapter for its games and quizzes.