The explosive history of fireworks, from ancient China to Revolutionary America