is modem a hardware or software?
A modem – a portmanteau of "modulator-demodulator" – is a hardware device that converts data into a format suitable for a transmission medium so that it can be transmitted from one computer to another (historically along telephone wires).