Routers are network devices that primarily operate at the Network layer (Layer 3) of the OSI model. They use logical addresses (like IP addresses) to determine the best path for forwarding data packets across different networks.