Read on how it works; When for example the person passes by the PIR sensor, the temperature of the sensor rises from room temperature to human body temperature and then back to room temperature. The sensor then converts the detected infrared radiation into a change in its output voltage, normally an increase in voltage, this lightens up the bulb.
Thanks for the question