When an electron absorbs energy equal to the energy difference between the ground state and a higher energy excited state, it moves to that higher energy state. Electrons must transition to specific energy levels, which means they can only absorb specific quantities of energy.
When the electron relaxes back to a lower energy state, it releases energy in the form of a photon.
The metal flame emission test is performed by placing a metal sample in a flame and observing the flame color, which corresponds to a specific metal. Each element has a unique emission due to its electronic configuration.
Most metal samples contain metal ions, oxides, and salts, which all absorb and emit different wavelengths of light. The emission spectrum is used to determine the relative amount of each substance in the sample and can be used to identify components of a sample.
The emitted light is the energy that is released during electron relaxation. Emitted light and absorbed light are complementary to each other in the color wheel. Emitted light is produced as a photon of a particular energy when excited electrons transition to lower energy levels and produce different wavelengths of light.
Source: Smaa Koraym at Johns Hopkins University, MD, USA
Here, we show the laboratory preparation for 10 students working in groups of 5, with some excess. Please adjust quantities as needed.