Computer hardware is a physical portion of a computer system and is generally tasked with functions specific to that type of equipment, while software is a set of instructions for hardware to follow in performing a specific task. However, the line between software and hardware is not always distinct.