Router works on the network layer (Layer-3) because it works on the basis of IP addresses.