Imagine you are playing with Legos. You have red, blue, and yellow blocks. When you put them together in different ways, you can make different things like a car, a house, or a robot.
Pyrotechnic composition is kind of like playing with Legos, but instead of just building things, you use different chemicals to make things that burn and make pretty colors in the sky.
Just like how the colors of the Legos you use can change what you build, the chemicals you mix together can change what kind of firework you create.
Different chemicals can make different colors. For example, if you mix strontium with something that burns, like gunpowder, it will make a bright red light. If you mix copper, it will make a bluegreen color.
It's important to be very careful when working with pyrotechnics, just like how you are careful not to hurt yourself when playing with your Legos. Pyrotechnicians wear special equipment to protect themselves and follow very strict rules to make sure they stay safe.