A passive infrared sensor, often referred to as a PIR sensor, is designed to detect thermal radiation from bodies and objects in its environment. When the PIR sensor detects a change in temperature, which can indicate movement, it generates a signal to activate a connected device such as lighting or a security system. PIR sensors are commonly used for efficient and reliable indoor motion detection.