Yeah, those are just interconnected to each other. The wires are there so that if one goes off, the others will too. You need to get something like this if you want to replace some of them and network them into the same system. https://www.homedepot.com/p/Kidde-Hardwired-Smoke-and-Detector-Adapters-21028461-21028461/309522936
Thanks! That connector looks pretty darn close too.