When motion is detected by the PIR sensor, the optocoupler (OP1) is activated, but this doesn't supply power to the small leads, but instead switches it (just like a regular transistor does).
When motion is detected by the PIR sensor, the optocoupler (OP1) is activated, but this doesn't supply power to the small leads, but instead switches it (just like a regular transistor does).