"Hardware" refers to any physical device in computing. If it is something you can touch and see, such as the computer screen, the keyboard, the printer, or the mouse, it is part of the hardware.
"Software" refers to the sequence of instructions that is given to the computer system to enable it to perform tasks. Programmers write software to perform a specific task and to allow human users to interact as easily as possible with the computer system. Practical computer systems divide software systems into three types—system software, programming software, and application software—although these distinctions are often blurred.
Without hardware, software would have nothing to run on, and without software, hardware would not be able to perform any tasks except the most basic. The software instructs the hardware which tasks to perform.