Computer hardware is something you can actually touch, such as keyboards, mouses, printers, monitors, disks and motherboards. Hardware usually lasts a long time.
What is Software?
Computer software is the programs and other operating information used by a computer, such as the cloud, scratch, Google, PowerPoint, Word and Skype. Unlike hardware, you cannot touch or see it.
In computing, an input device is a piece of computer hardware equipment used to provide data and control signals to a computer or information appliance. Some examples are keyboards, mice, scanners, digital cameras and joysticks.
An output device is any device used to send data from a computer to another device or user. The most common output device is a monitor. Some other examples are speakers, printers, projectors, TV and headphones.