Computer hardware is a collective term used to define any of the physical components of an analog or digital computer. The term hardware separates the physical aspects of a computing device from software, which consists of written instructions that tell physical components what to do.