* This simulation was developed using spectral data from the National Institute of Standards and Technology (NIST).
When a substance is heated, some electrons in atoms or ions gain energy and move to higher energy levels. This is called an excited state.
When an electron in an excited state transitions back to a lower energy level, it can emit energy in the form of light, corresponding to the difference between the two energy levels. By analyzing the spectrum of the emitted light, we can identify the elements present in the substance.
Compounds containing many types of metallic elements produce characteristic colors in a flame. This phenomenon is the basis of the flame test.
The color of a flame results from the combination of light at various wavelengths emitted by atoms, ions, or molecules. The color and brightness may also vary depending on the temperature of the flame and the type of compound.
In fireworks, various metal compounds are used to produce brightly colored flames.
This simulation is a simplified model designed to explain the principle of the flame test, focusing on electron transitions and light emission in neutral atoms. It does not accurately represent the actual paths of electrons, the shapes of orbitals, the spacing between energy levels, or the probabilities of transitions.