what does a router do
A router is a networking device that forwards data packets between computer networks. Routers perform the traffic directing functions on the Internet. A data packet is typically forwarded from one router to another through the networks that constitute the internetwork until it reaches its destination node. router is connected to two or more data lines from different networks (as opposed to a network switch, which connects data lines from one single network).