Computer hardware refers to the physical parts of a computer system including components that are connected mechanically and electrically. Hardware is divided into input, processing, output, and storage components. The key components include input devices to provide data and instructions, processing units to execute stored instructions, output devices to display or print results, and storage devices to retain programs and data for future use.