Flame tests are used to identify the presence of a relatively small number of metal ions in a compound. Not all metal ions give flame colors. For Group 1 compounds, flame tests are usually by far the easiest way of identifying which metal you have got.