Routers are networking devices that receive, analyze, and forward internet connectivity among the connected devices. It operates on a network layer of the OSI model. When a data packet arrives, the router inspects the destination address and then consults its routing tables to decide the optimal route to transfer the packet.