SpaceX interview question

How do infrared temperature sensors work?