A network switch is a telecommunications device that receives messages and sends them to their intended destinations. It connects network segments or devices and forwards data to one or multiple targets that need to receive it. Switches operate at the data link layer to process and forward data, unlike hubs but similar to routers. They improve network performance by reducing broadcast domains and using hardware to map ports to device addresses.