A modem is a device that modulates and demodulates digital signals, allowing internet data to be transmitted over telephone or cable lines. It acts as a gateway between your local network and the Internet Service Provider (ISP).