Whether they’re lighting up the sky on the Fourth of July in the United States, welcoming the Lunar New Year across Asia, celebrating Diwali in India, marking Guy Fawkes Night in the United Kingdom, or ringing in the New Year in cities around the globe, fireworks have become one of humanity’s most recognizable forms of celebration.
For thousands of years (yes I know, thousands!), these brilliant displays have marked festivals, national holidays, religious traditions, and moments of joy shared by entire communities. Every summer, millions of people gather beneath the night sky to watch brilliant explosions of color. Reds bloom into blues. Gold crackles across the darkness. White stars shimmer before fading into smoke.
What you’re seeing is actually the result of carefully controlled chemistry and physics working together in a matter of seconds.
A brief history of fireworks
Long before fireworks became a centerpiece of celebrations around the world, they began with a simple but revolutionary discovery. Around the 9th century, Chinese alchemists searching for an elixir of immortality accidentally created one of history’s most influential chemical mixtures. By combining charcoal, sulfur, and potassium nitrate (also called saltpeter), they produced a substance that burned rapidly and released large amounts of hot gas and energy. Rather than granting eternal life, it produced spectacular explosions. This mixture became known as black powder, the world’s first chemical explosive (and something we still use today!)
Early fireworks were much simpler than the dazzling displays we know today. Bamboo stalks were thrown into fires because trapped air inside the hollow stems would heat up until the bamboo burst with a loud bang. Once black powder was discovered, people began filling bamboo tubes and paper containers with the mixture, creating louder explosions and eventually colorful displays. Fireworks were believed to frighten away evil spirits and bring good luck, making them an important part of festivals and celebrations.
How do they work?
Now, for modern fireworks:
When the fuse is lit, it ignites a small quantity of black powder called the lift charge, located at the bottom of the firework shell. As the black powder burns, it rapidly produces expanding gases. These gases build pressure inside a launching tube called a mortar, propelling the shell hundreds of feet into the air at speeds that can exceed 150 miles (240 kilometers) per hour. At the same moment, the lift charge ignites a second, carefully timed fuse inside the shell. This delay fuse continues burning while the firework climbs higher and higher into the sky. Its length is precisely engineered so the shell reaches the proper altitude before exploding. If the fuse burned too quickly, the firework would burst dangerously close to the ground. Too slowly, and the shell might burn out before reaching its peak.
Everything that happens next depends on this carefully timed sequence. In just a few seconds, the lift charge launches the shell, the delay fuse burns unnoticed inside, and the stage is set for the brilliant explosion that follows.
As the firework shell races upward, the delay fuse hidden inside continues to burn. For a few seconds, it seems as though nothing is happening. Then, at just the right moment, the fuse reaches the center of the shell and ignites another small charge known as the burst charge. Unlike the lift charge, whose job is to launch the shell into the air, the burst charge is responsible for creating the explosion that everyone watches from below.
The burst charge rapidly produces expanding gases that break the shell apart. At the same instant, it ignites dozens (or sometimes hundreds) of small pellets packed inside the shell. These pellets are known as stars (a terribly adorable name), and each one contains its own carefully designed chemical recipe that determines its color, brightness, burn time, and special effects.
As the stars are thrown outward in every direction, they continue burning through the air, creating the glowing points of light we see overhead. Depending on how the stars were arranged before launch, they may form perfect circles, cascading willows, sparkling chrysanthemums, or other intricate designs.
All of this happens in just a few seconds. What appears to be a single explosion is actually a carefully choreographed sequence of events, with every component igniting at precisely the right moment.
How do we get different colors?
The secret: atoms.
When a firework explodes, temperatures inside the burning stars can exceed 2,000°F (1,100°C). At these temperatures, electrons inside certain metal atoms absorb energy and move into higher-energy states. These excited electrons have to move and go somewhere.
As they return to their normal energy levels, they release their extra energy as tiny packets of light called photons. The wavelength of each photon determines the color we see. Because every element has a unique arrangement of electrons, each produces its own characteristic color when heated.
Some of the most common color-producing elements include:
strontium → deep red
calcium → orange
sodium → bright yellow
barium → green
copper → blue
potassium → violet
magnesium, aluminum, and titanium → bright white sparks and flashes
Creating these colors is way harder than just mixing chemicals together. Each compound must burn within a specific temperature range to produce its brightest color.
Believe it or not, blue is one of the hardest colors to make. Copper compounds create beautiful blue light, but only if they burn at just the right temperature. If the firework burns too hot, the copper compounds break apart and the blue disappears. This is why vivid blue fireworks are considered one of the greatest technical achievements in modern pyrotechnics.
Okay but, how do they make the shapes?
Inside each shell, the stars are arranged around the burst charge in carefully planned positions. When the burst charge explodes, every star is pushed outward at nearly the same speed. Because they all begin from known positions, they preserve their overall arrangement as they spread through the sky.
This allows pyrotechnicians to create familiar patterns such as rings, chrysanthemums, peonies, palms, willows, and dahlias. More advanced shells can even produce hearts, smiley faces, stars, or company logos by arranging the stars into those shapes before launch.
Some fireworks become even more elaborate by containing multiple compartments. These shells explode in stages, releasing one pattern followed by another. Others contain smaller shells that burst after the first explosion, creating spectacular finales that seem to fill the sky.
Designing these shells requires careful calculations involving geometry, timing, chemistry, and physics. Even a slight change in how the stars are packed can dramatically change the final display.
A brighter future: environmentally friendly options
Fireworks can be fun but like many things us humans do… can be harmful to the environment.
After a display, smoke from the explosions can temporarily reduce air quality by releasing tiny particles known as particulate matter. These particles usually disperse within hours, but during large celebrations or in areas with little wind, they can contribute to short-term air pollution. Fireworks also leave behind bits of paper, plastic, cardboard, and metal that can become litter if they aren’t cleaned up.
The loud explosions can affect wildlife as well. Birds may suddenly take flight in the middle of the night, abandoning nests or becoming disoriented. Pets often experience anxiety during fireworks displays, and researchers have observed that some mammals alter their behavior for hours after loud celebrations. Because of these concerns, scientists and engineers have been working to develop cleaner alternatives.
One innovation is the use of low-smoke fireworks, which use different chemical formulations that produce less smoke and fewer airborne particles while still creating colorful displays. Some manufacturers have also reduced the use of certain metals to decrease environmental contamination after large events.
Another growing alternative is the drone light show. Instead of explosions, hundreds or even thousands of GPS-guided drones equipped with LED lights fly in carefully synchronized formations. These displays can create detailed animations, logos, animals, constellations, and even moving stories across the night sky. Because they produce no smoke and far less noise, drone shows are becoming increasingly popular for festivals, sporting events, and celebrations near sensitive wildlife habitats. In some cities, organizers have even begun combining fireworks with drone displays. They use fireworks for dramatic finales while relying on drones for much of the visual performance. This approach preserves the excitement of traditional pyrotechnics while reducing their environmental footprint.


Wow! That was fascinating. I loved learning about the different colors. I had no idea it worked like that. I hope we can find an eco-friendly alternative that won't harm wildlife or pets. Humans are extremely innovative for even coming up with the idea in the first place, and now in the modern era, we can watch the creation be perfected.
Cool to read this on the 4th of July!