How Do Fireworks Work?: My children kept about 4 cheap fireworks this 4th of July. We used an exacto knife to cut them open and observe what was inside with a magnifying glass. We used a long handle lighter to set each component on fire to see what it's purpose was. The sparkler was the neatest because it was layered for the different colors.