Your router sits between the two, matching incoming and outgoing connections between public systems (like a website or email server) and devices on your network, like a Mac, iPhone, smart TV, or ...