Pyrometers operate based on the principle of thermal radiation. All objects emit radiation proportional to their temperature. Pyrometers capture this radiation and convert it into a temperature reading. Optical and infrared pyrometers use different parts of the electromagnetic spectrum to achieve this, but the underlying principle remains the same.