A router is a device that connects two networks or more by means of wired and wireless signals and is used in large networks such as the Internet. We can say that the router is the one that connects and connects networks.
A switch (also called switching hub, bridging hub, officially MAC bridge) is a computer networking device that connects devices together on a computer network by using packet switching to receive, process, and forward data to the destination device.
In most cases, the end-user device contains a router and components that interact with the specific physical broadband technology. User devices may also include the telephone interface of the VoIP protocol