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 router through the networks that constitute an internet work until it reaches its destination node.
A router is like a network switch because they connect mutable computing devices to a network but a router is much smarter, It passes internet connection to your computing devices without exposing them to the outside world and its security issues.
Ho yeh! You may also connect to routers wirelessly.