Routers are hardware devices that join multiple networks together and act as a gateway for data to travel between them. They are typically used to connect networks within an organization or to the internet. Routers use a variety of techniques to process, filter, and forward information, such as packet switching, routing protocols, and other techniques.