Routers operate at the network layer (Layer 3) because they make forwarding decisions based on IP addresses to route packets between different networks. They are Layer 3 devices. Switches operate at the data link layer (Layer 2), and hubs/repeaters work at the physical layer (Layer 1).