A router is a device that connects two or more different networks together, such as your home network to the internet. It operates at Layer 3 (Network Layer) of the OSI model.