Here's how thermal imaging works: A special lens focuses the infrared light emitted by all of the objects in view. The focused light is scanned by a phased array of infrared-detector elements. The detector elements create a very detailed temperature pattern called a thermogram.