If you want to transfer data between two networks, you need to use a router. A router network device is used to forward data packets between computer networks. It mainly performs the function of directing traffic.