A router
A router is a networking device that is used to forward data packets along networks. It acts as an intermediary device that is connected to at least two networks, commonly two or more LANs or WANs. They use headers and forwarding tables to determine the best possible route for forwarding data packets to other networks.