Infrared thermometers see the infrared color of the surface they're measuring, and interpret that color as a temperature. The more in focus the surface being measured is, the more stable the readings will be. Not necessaily accurate, but good for trending, and especially finding heat leaks.
As euge said, internal temperatures are problematic.