Respuesta :

The amount of heat and energy varies slightly as the flame burns. as electrons in the flame are exited, they jump different numbers of shells, and when they are pulled back into their original shell, the amount of shells they need to fall determines how much energy is released and so makes different color light.
Q&A Education