ESR operates on the principle that unpaired electrons have a magnetic moment and spin, which can be aligned or opposed to an external magnetic field. When placed in a magnetic field, these unpaired electrons can absorb microwave radiation at a frequency that corresponds to the energy difference between their spin states. This absorption is measured and displayed as an ESR spectrum, which can be analyzed to identify and quantify the paramagnetic species.