* Electron Energy Levels: Electrons in an atom exist in specific energy levels. These levels are quantized, meaning they can only hold specific, discrete amounts of energy.
* Excitation: When an atom absorbs energy (from heat, light, or other sources), an electron can jump to a higher energy level. This is called excitation.
* De-excitation: The excited electron is unstable and wants to return to its ground state (lowest energy level). To do so, it releases the excess energy as a photon of light.
* Photon Energy and Color: The energy difference between the excited state and the ground state determines the energy of the emitted photon. Since the energy of a photon is directly related to its color (higher energy = shorter wavelength = bluer color), the energy difference between electron levels dictates the color of the light emitted.
In summary: The specific energy levels within an atom dictate the energy differences that electrons can undergo, and those energy differences determine the color of the light emitted when an excited electron returns to its ground state.