Software refers to a collection of instructions, procedures, and documentation that performs different tasks on a computer system. Hardware, on the other hand, is the physical component of a computer that we can touch, such as the processor, memory devices, monitor, keyboard, and mouse.