Step-by-step explanation:
The flame test is used to visually determine the identity of an unknown metal or metalloid ion based on the characteristic color the salt turns the flame of a Bunsen burner. The heat of the flame excites the electrons of the metals ions, causing them to emit visible light