Atomic spectroscopy

Atomic spectroscopy is the study of the electromagnetic radiation absorbed and emitted by atoms. Since unique elements have characteristic (signature) spectra, atomic spectroscopy, specifically the electromagnetic spectrum or mass spectrum, is applied for determination of elemental compositions. It can be divided by atomization source or by the type of spectroscopy used. In the latter case, the main division is between optical and mass spectrometry. Mass spectrometry generally gives significantly better analytical performance, but is also significantly more complex. This complexity translates into higher purchase costs, higher operational costs, more operator training, and a greater number of components that can potentially fail. Because optical spectroscopy is often less expensive and has performance adequate for many tasks, it is far more common Atomic absorption spectrometers are one of the most commonly sold and used analytical devices.
Optical spectroscopy.
Electrons exist in energy levels (i.e. atomic orbitals) within an atom. Atomic orbitals are quantized, meaning they exist as defined values instead of being continuous (see: atomic orbitals). Electrons may move between orbitals, but in doing so they must absorb or emit energy equal to the energy difference between their atom's specific quantized orbital energy levels. In optical spectroscopy, energy absorbed to move an electron to a higher energy level (higher orbital) and/or the energy emitted as the electron moves to a lower energy level is absorbed or emitted in the form of photons (light particles). Because each element has a unique number of electrons, an atom will absorb/release energy in a pattern unique to its elemental identity (e.g. Ca, Na, etc.) and thus will absorb/emit photons in a correspondingly unique pattern. The type of atoms present in a sample, or the amount of atoms present in a sample can be deduced from measuring these changes in light wavelength and light intensity.
Optical spectroscopy is further divided into atomic absorption spectroscopy and atomic emission spectroscopy. In atomic absorption spectroscopy, light of a predetermined wavelength is passed through a collection of atoms. If the wavelength of the source light has energy corresponding to the energy difference between two energy levels in the atoms, a portion of the light will be absorbed. The difference between the intensity of the light emitted from the source (e.g., lamp) and the light collected by the detector yields an absorbance value. This absorbance value can then be used to determine the concentration of a given element (or atoms) within the sample. The relationship between the concentration of atoms, the distance the light travels through the collection of atoms, and the portion of the light absorbed is given by the Beer–Lambert law. In atomic emission spectroscopy, the intensity of the emitted light is directly proportional to the concentration of atoms.
Mass spectrometry.
Atomic mass spectrometry is similar to other types of mass spectrometry in that it consists of an ion source, a mass analyzer, and a detector. Atoms' identities are determined by their mass-to-charge ratio (via the mass analyzer) and their concentrations are determined by the number of ions detected. Although considerable research has gone into customizing mass spectrometers for atomic ion sources, it is the ion source that differs most from other forms of mass spectrometry. These ion sources must also atomize samples, or an atomization step must take place before ionization. Atomic ion sources are generally modifications of atomic optical spectroscopy atom sources.
Ion and atom sources.
Sources can be adapted in many ways, but the lists below give the general uses of a number of sources. Of these, flames are the most common due to their low cost and their simplicity. Although significantly less common, inductively-coupled plasmas, especially when used with mass spectrometers, are recognized for their outstanding analytical performance and their versatility. 
For all atomic spectroscopy, a sample must be vaporized and atomized. For atomic mass spectrometry, a sample must also be ionized. Vaporization, atomization, and ionization are often, but not always, accomplished with a single source. Alternatively, one source may be used to vaporize a sample while another is used to atomize (and possibly ionize). An example of this is laser ablation inductively-coupled plasma atomic emission spectrometry, where a laser is used to vaporize a solid sample and an inductively-coupled plasma is used to atomize the vapor.
With the exception of flames and graphite furnaces, which are most commonly used for atomic absorption spectroscopy, most sources are used for atomic emission spectroscopy.
Liquid-sampling sources include flames and sparks (atom source), inductively-coupled plasma (atom and ion source), graphite furnace (atom source), microwave plasma (atom and ion source), and direct-current plasma (atom and ion source). Solid-sampling sources include lasers (atom and vapor source), glow discharge (atom and ion source), arc (atom and ion source), spark (atom and ion source), and graphite furnace (atom and vapor source). Gas-sampling sources include flame (atom source), inductively-coupled plasma (atom and ion source), microwave plasma (atom and ion source), direct-current plasma (atom and ion source), and glow discharge (atom and ion source).