At IDNLearn.com, find answers to your most pressing questions from experts and enthusiasts alike. Discover the information you need quickly and easily with our reliable and thorough Q&A platform.

During a flame test, ions of a specific metal are heated in the flame of a gas burner. A characteristic color of light is emitted by these ions in the flame. How is it produced? (use words: electron, ground state, excited state)