A gateway, or combination modem and router, is a network device that performs the functions of both a router and modem. Essentially, this device connects multiple devices to the home network and then connects the home network to the ISP network, facilitating connectivity between all devices and networks.