What Makes Fireworks Explode?

Fireworks explode due to gun powder. You light the wick and the flames travel to the middle where the gun powder is located. Since gun powder is highly combustable, when the fire hits it, it explodes!