What is a switch and what is a router.
Sigiloso
Router create broadcast domains by breaking multiple network into broadcast domain. Router is a layer 3 device and it is used in forwarding packet to the next hop(or next destination). Switch is a layer 2 device that creates collision domains. By creating collision domains, data performance is improved as there is no contention(as seen in CSMA/CD in hubs) as each port has its own dedicated bandwidth.