The Flame Test is a safer version of the traditional Rainbow Demonstration, an exercise popularly conducted in chemistry classrooms. The purpose of The Flame Test is to demonstrate to students the variety of colors produced when different metals or salts meet a flame. It contributes to their understanding of:

Energy

Electromagnetic Spectrum

Atomic structure

Atomic spectra

Electrons

Visible light spectrum