Chemistry professor Marcy Towns said the anatomy of a firework is key to its explosion.