A network switch uses MAC addresses to forward data packets directly to the intended recipient port.