Let's say you have a hallway (in a school, for example). There are devices on a circuit running down the center of the hallway. Now the customer wants to add a device in one of classrooms off the hallway. How do you do that? If you take down an existing device, you'll see that there is one cable coming in and another going out, "in" generally taken as back toward the panel and "out" being towards the end-of-line device. We might further suppose that the cable is run in RMC or EMT (please, let's not have that discussion here!). If you've picked a device that's next to the classroom, you'll extend the RMC or EMT from the current device's JB to the new location, terminating in a manufacturer's approved mounting means for the new device. Now you pull new conductors or cables from the old JB to the new JB. You'll need four (4). You could use THHN or such, but most alarm installers (as opposed to generalist electricians) will pull 18 to 14 AWG, 2-conductor FPLP. In this case you could use FPL or FPLR, but all you have to do is use the wrong one once and you'll almost never use anything other than FPLP. You also might use a 4-conductor cable, but Siemens, for example doesn't allow it.
Now you lift the incoming cable in the old box off the screw terminals and splice (wire nut, wago, whatever) one pair going to the new box to the old incoming cable, making note of polarity. At the new device, you land the other end of the spliced cable on the "in" terminals of the device. The other pair at the new device you land on the "out" terminals, making note of polarity. This second pair is hanging in the breeze at the old JB. Go back to the old JB and now land the second pair on the "in" terminals of the original device.
Now I've described it this way so you get a feel for how the pairs are arranged. In actual practice, the tech will make all the connections in one box, close it up and make the second set in the other box and close it up rather than going back and forth. You could also make the splice on the "out" side of the old device; dealer's choice. Others here may have their own handy tips and tricks.