A modem is a piece of computer hardware. It is used for communication between distant computers. The modem can send and receive data. To send data it changes digital data into analog data (this is called modulation). To receive data it changes the analog data into digital data (this is called demodulation).