Router is a networking device which is used to primarily link a single internet connection with multiple computers on a network. It works by giving addresses to the machines connected to it and taking an address from the modem or other internet source connected to the WAN port.