I want to know the answer to the following question:
How do fireworks create green sparks?
All the background I'm provided with is that "To create green sparks, fireworks use barium salts, such as barium chlorate, barium nitrate crystals, or barium chloride, also used for green fireplace logs.". Is that enough to answer the question?