* Flame Tests: When a metal-containing compound, like a chloride salt, is heated in a flame, the electrons in the metal atoms get excited.
* Excited Electrons: These excited electrons jump to higher energy levels.
* Returning to Ground State: The electrons quickly fall back down to their original, lower energy levels. As they do, they release the absorbed energy in the form of light.
* Color: The specific color of light emitted depends on the energy difference between the excited and ground states of the electrons. Each metal has a unique set of energy levels, resulting in different colored emissions.
Examples:
* Sodium Chloride (NaCl) - Yellow: Sodium emits a bright yellow light when heated.
* Copper Chloride (CuCl) - Blue-Green: Copper produces a blue-green flame.
* Potassium Chloride (KCl) - Violet: Potassium emits a violet light.
* Calcium Chloride (CaCl2) - Orange-Red: Calcium produces an orange-red flame.
Chlorine's Role:
Chlorine doesn't directly contribute to the color of the flame. It's primarily there to form a soluble salt with the metal. In flame tests, it's the metal cation that is responsible for the color observed.
Note: Flame tests are a useful technique for identifying metals. However, the presence of other metals can sometimes interfere with the color observation.