Electromagnetic spectroscopy is the spectroscopy of electromagnetic spectra which arise out of atoms absorbing and emitting quanta of electromagnetic radiation. It is done with the aid of a spectrometer (spectroscope).
Emission spectroscopy is the study of electromagnetic radiation spectra given off by atoms or molecules that undergo a transition to a lower energy level. Such a process is called fluorescence or, under certain conditions, phosphorescence. Generally, emission spectroscopy deals with visible light and shorter wavelengths, since fluorescence is less likely to happen with long wavelengths. See also: spontaneous emission.
Examples:
Examples of absorption spectroscopy:
The higher the temperature, the shorter (and bluer) the average visible wavelength. The sun, which has a temperature around 6000 K, emits most strongly in the visible light. However, certain wavelengths are missing from the solar spectrum, which is the result of chemical elements in the chromosphere of the sun that have resonant transitions at those wavelengths. From the exact wavelengths of these missing parts of the spectrum, or absorption lines, we can deduce which elements are present in the sun. The fact that these elements have absorbed the radiation indicates that the chromosphere is cooler than the photosphere.
However absorption spectra can not give us information about the abundance of the various elements. This is because hydrogen and helium (the main constituents of the sun) need much more energy to excite them enough to absorb radiation than other elements (such as calcium) present. So even though H and He are more abundant, a much smaller percentage of them get excited enough to produce a high intensity. To get a better understanding of abundance of these elements it is necessary to study the emission spectrum of elements in the chromosphere. It is only possible to assess this when the photosphoric radiation is totally obscured during an eclipse. At this time the emission spectrum of the chromosphere is highly dominated by hydrogen, which is the main constituent of the sun.