A modem is used to connect to the internet.