Answer:
When the star compounds inside a firework are heated, the excited atoms give off light energy. They release light energy (photons) in the process. Barium chloride gives fireworks a luminescent green color, and copper chloride makes a blue color.