An input device is an essential part of a hardware component which provides control over signals about any information and also provides data, such as a computer or any information device. Some of the commonly used input devices are, keyboard, mouse, touch screen etc.
On the other hand, an output device is a hardware component which receives the data or the information from the information device or computer and performs the tasks. The common output devices are printers, speakers, web cam etc.