In ICP-AES, a sample is introduced into an inductively coupled plasma, where it is atomized and excited. The atoms and ions in the sample emit light at characteristic wavelengths as they return to lower energy states. These wavelengths are measured using a spectrometer, and the intensity of the emitted light is used to determine the concentration of each element present in the sample.