Is a modem a peripheral device?

A modem is a peripheral device based on the fact that peripheral devices are devices located on the outside of a computer