A PIR needs power to work, some pass current through the bulb, some use batteries, and some have a neutral. Also they need to connect and some are wireless, and some use wires. Also controls, they can have LUX, Time, and Range, but some don't have all functions, and use blanking bits to stop activation from selected areas.
In the main stand alone PIR's can be connected in parallel so either will activate both lamps, but some built in types can't run in parallel. It depends on which you select.
In doors switches also vary, with smart switches they can often be programmed with dusk and dawn, but again they need power, three methods to power them, through the bulb, using a neutral, or a battery. The through the bulb type can't power a PIR as once PIR switches off they loose power. I use Tapo (TP-Link) which have batteries so can be programmed to turn on at dusk and off a 11 pm so cats etc don't set them off in middle of night.
I do find dawn is a problem, as switch on at 6 am and off at dawn clearly will not work when dawn is before 6 am. I do have one PIR lamp also switched with smart switch, but in the main have given up with PIR's as too easy set off by cats or other wild life, and would switch off at most inopportune moments. Hands full of shopping and can't even see where to put shopping down.
But I have 8 outside lights, 6 with smart controls, so I switch them on with phone and off with voice command.