The term "computer hardware" refers to any and all of the physical components of a digital or analog computer. Software, on the other hand, is the written, machine-readable instructions or programs that tell physical components what to do and when to execute the instructions. Hardware refers to the tangible parts of a computer.