Question: explain what a flame test has to do with spectroscopy?
Answer: Flame tests. Flame tests are useful because gas excitations produce a signature line emission spectrum for an element. ... When the atoms of a gas or vapor are excited, for instance by heating or by applying an electrical field, their electrons are able to move from their ground state to higher energy levels.