Answer:
Different ions of different elements (usually metals) make a flame burn with a characteristic color when introduced into the reaction zone; the different colors are caused by the different quantized energy levels of the electrons in the different atoms.