A gateway is a network device that connects different networks and routes traffic between them. It often serves as the default path to external networks. Gateways may perform translation and filtering. Example: A home router acting as a gateway to the Internet.