A router is used when a single Internet connection is shared by many computer terminals i.e. all of them are connected to the router and the router routes the data packets meant for a particular computer exactly to that terminal. Now, a modem when connected to the computer terminal, enables the access to the Internet, via phone line or cable.