The heat-detectors located in the facial cavities at the anterior of the rattlesnakes head detect the infrared light caused by the body heat of its prey.