What is the difference between hardware and software?
Hardware is the physical parts of a computer that you can touch, such as the keyboard, screen, processor and memory chips. Software is the set of programs and instructions that tell the hardware what to do, such as apps and operating systems.
A helpful comparison is a piano and music. The piano is the hardware, and the music played on it is like the software.
Examples of hardware
Input devices: keyboards, mice, touchscreens, microphones and cameras.
Output devices: monitors, speakers and printers.
Inside the computer: the central processing unit (CPU), memory (RAM), storage drives, the motherboard and the graphics card.
Examples of software
System software includes operating systems such as Windows, macOS, Linux, Android and iOS. It manages the hardware.
Application software includes web browsers, word processors, games, photo editors and messaging apps.
Working together
Hardware cannot do anything useful without software, and software needs hardware to run on.
Firmware
Firmware is a special type of software stored permanently on a hardware device, such as a router or printer. It provides low-level control and can sometimes be updated.
Fixing problems
A hardware problem might be a broken screen or a failing hard drive. A software problem might be a bug that makes an app crash.
Software updates can add features or fix bugs without changing the hardware.