What is a Flame Test?

In chemistry, a flame test is a procedure used to detect the presence of certain metal ions in an element, based on the spectrum of light given off when exposed to a high temperature flame.