Ions in salts release a specific amount of energy as the electrons move from a higher energy state (excited state) to a lower energy state
Remember: Colors in a bright-line spectrum or in a fireworks display are produced when electrons emit a specific amount of energy in the form of light with specific wavelengths as the electrons move from higher, excited energy states to lower energy states.