Why Do Chemicals Have To Be Heated In The Flame Before Colored Light Is Emitted?

Why Do Chemicals Have To Be Heated In The Flame Before Colored Light Is Emitted? Why do you think the chemicals have to be heated in the flame first before the colored light is emitted? The heat gives the electrons energy moving them to the excited state, then you take the heat off, snapping the