How to sparklers work?

In the US, it is time to start blowing stuff up and setting stuff on fire, because we are so patriotic!

Here is the science of sparklers, to keep it interesting:

More like this

nothing like 7 am fire alarms to get people awake, especially on top of tall buildings, and since the last hotel fire alarm, at a conference, that I experienced was because the hotel was actually on fire, that got me going. So, "small earthquake in Hawaii" - 5.4 is respectable, are the 'scopes ok…
An e-droog recently waxed poetic about a single malt Scotch that she gave to a friend on the occasion of his thirtieth birthday. If I recall correctly, this was an especially rugged Islay beast, and stronger than the infamous Laphroaig. The subject of single malts triggered an avalanche of…
Is it unpatriotic to dread the Fourth of July?   I wonder if some U.S. veterans do, in fact dread Independence Day because of the bottle rockets, shot missiles and other fireworks set off to mark the occasion. NBC News contributor Bill Briggs wrote last year about Iraq War veteran Pete Chinnici, 26…
Some say the world will end in fire, Some say in ice. From what I've tasted of desire I hold with those who favor fire. But if it had to perish twice, I think I know enough of hate To say that for destruction ice Is also great And would suffice. -Robert Frost Sure, if all we're talking about is the…