IR Sensor (Infrared Sensor) is an electronic instrument that can be used to detect an obstacle or object. It is also used to detect black & white "color".