There is a moment, right before the first big firework goes off, when an entire crowd goes quiet and tips their heads back at the same time. Kids and adults, all of them, staring up at the dark and waiting for something to happen. Then it does, and everybody makes the same sound. For something we have all seen a hundred times, fireworks have a strange power to stop us in our tracks. The good news for the curious kid in your life is that there is real science behind every part of it.

Where the colors come from

The colors are not paint or dye. They come from metals. When certain metals get hot enough, they give off light in very specific colors, and the people who design fireworks have turned that into a kind of recipe book. Strontium burns red. Barium burns green. Sodium gives you that warm gold. Copper produces blue, which happens to be the hardest color of all to get right, because the chemical that makes blue falls apart if the flame gets too hot. Mix red and blue together, and you get purple. The bright silver-and-white sparks that crackle at the edges usually come from burning metals such as magnesium, aluminum, or titanium. So the next time your kid asks how they make the green ones, the honest answer is barium, and that is a genuinely cool thing for a ten-year-old to know.

Why the boom comes after the flash

Here is a question worth asking your kid at the next show. Why do you always see the firework before you hear it? The answer is one of the cleanest demonstrations of physics you can witness from a lawn chair. Light travels almost unimaginably fast, fast enough that it reaches your eyes the instant the firework bursts. Sound is a slowpoke by comparison, moving about a mile every five seconds. So the farther away the show is, the bigger the gap between the flash and the boom. You can actually estimate the distance by counting the seconds between the two. About five seconds means the firework went off roughly a mile away.

How they get the shapes

The shapes are not random, and they are not luck. Inside every firework shell are dozens of small pellets called stars, each one packed with the chemicals that make the light and color. The trick is in how those stars are arranged inside the shell before it launches. Line them up in a ring and you get a ring in the sky. Arrange them in the shape of a heart and, if everything goes right, a heart is what blooms overhead. When the shell bursts, the stars fly outward in the exact pattern in which they were packed. Somebody designed that shape on the ground, hours earlier, and trusted the physics to carry it into the air.

Why we cannot look away

The harder question is why fireworks hold us the way they do. Part of it is the anticipation, that quiet pause before the bang. Part of it is the surprise, since you never quite know what the next one will look like. And part of it, maybe the best part, is that fireworks ask us to do something we rarely do anymore: look up at the night sky together and actually pay attention.

That last part is worth holding onto. So much of what is wonderful happens after the sun goes down, when the ordinary rules of the day relax, and the sky turns into something worth staring at. The Night Buddies books are built on that exact feeling. This summer, when the show starts and your kid goes quiet and tips their head back, you will know what is really going on up there. And you can tell them, or you can just look up too.