Pulse oximeters use light-emitting diodes (LEDs) to emit light at different wavelengths. One LED emits red light, and the other emits infrared light. Oxygenated and deoxygenated hemoglobin absorb these wavelengths differently. By measuring the ratio of red to infrared light absorption, the device can estimate the percentage of hemoglobin that is oxygenated.