Define peripheral.
Devices that are under the direct control of computer are said to be linked online. These devices are intended to read information into or out of the memory unit upon command from the CPU and are considered to be the part of total computer system. Input or output devices attached to the computer are known as peripherals.