A network switch is a smart piece of hardware that connects devices in a computer network, directing data only to its intended destination. Unlike simpler devices, it uses special addresses to efficiently manage network traffic, making modern networks faster and more secure.