Atomic spectroscopy is the technique for
determining the elemental composition of an
analyte by its electromagnetic or mass spectrum.
the technique is based on the same principle as the flame test used in qualitative analysis.
When an alkali metal salt or a calcium, strontium or barium
salt is heated strongly in the Bunsen flame, a characteristic
flame colour is observed