The hardware of the computer is the physical parts that you can touch and see. This is very important because without it, our computer cannot work.
Examples of this would be : Monitor, keyboard and mother board.
However, even if you have the hardware but not a software, your computer will not function as well. The reason is because the software is a bunch of codes and instructions.
Examples are : Windows XP, Macintosh
The difference between the two :
The difference between hardware and software is that you cannot see the software, but you can see the hardware because it is a physical component. Software is a bunch of codes, not actual physical objects.