SpaceX Interview Question

How do infrared temperature sensors work?