When a sample is exposed to light at a specific wavelength, it absorbs the energy and becomes excited. As the sample returns to its ground state, it emits light at a longer wavelength. The emitted light is collected and measured to provide information about the sample. This process involves two main steps: excitation and emission.