Why does popcorn corn burst?

Corn is a very hard food and small air bubbles are trapped inside it.

When corn gets hot, the trapped air tries to expand, increasing its volume more than 20 times.

The air molecules move fast and press harder and harder on the tough walls of the small bubbles until they break and the corn kernels explode in soft, light popcorn.