Passive infrared (PIR) sensors use a pair of pyroelectric sensors to detect heat energy in the surrounding environment.
These two sensors sit beside each other, and when the signal differential between the two sensors changes (if a person enters the room, for example), the sensor will engage.