When fluorophores absorb light, their electrons are excited to a higher energy state. As the electrons return to their ground state, they release energy in the form of emitted light. The difference in wavelength between the absorbed and emitted light is known as the Stokes shift. This principle allows for the differentiation of multiple fluorophores in a single sample, each with distinct excitation and emission spectra.