Computer hardware is a collective term used to describe any of the physical components of an analog or digital computer. The term hardware distinguishes the tangible aspects of a computing device from software, which consists of written instructions that tell physical components what to do.
Computer hardware can be categorized as having either internal or external components. Internal components include items such as the motherboard, central processing unit (CPU), random access memory (RAM), hard drive, optical drive, heat sink, power supply, transistors, chips, graphics processing unit (GPU), network interface card (NIC) and Universal Serial Bus (USB) ports. These components collectively process or store the instructions delivered by the program or operating system (OS).
External components, also called peripheral components, are those items that are often connected to the computer in order to control either its input or output. Common input components include a mouse, keyboard, microphone, camera, touchpad, stylus, joystick, scanner, USB flash drive or memory card. Monitors, printers, speakers, headphones and earphones/earbuds are all examples of output computer hardware components. All these hardware devices are designed to either provide instructions to the software or render results from its execution.
Internal hardware components
This computer hardware chart illustrates what typical internal computer hardware components look like.
External hardware components
External hardware components are called peripherals. Peripherals include input devices, such as a mouse or keyboard; output devices, such as a monitor or printer; and external storage devices, such as a hard drive or USB card.
Other common external hardware components include microphones, monitors, speakers, headphones, digital cameras, touchpads, stylus pens, joysticks, scanners and memory cards. All these hardware devices are designed to either provide instructions to the software or render the results from its execution.
Hardware virtualization is the abstraction of physical computing resources from the software that uses the resources. This is made possible by a virtual machine (VM) manager called a hypervisor. Essentially, the hypervisor creates virtual versions of internal hardware so that resources can be shared and used more efficiently. In cloud computing, hardware virtualization is often associated with infrastructure as a service (IaaS).
IaaS is a delivery model for providing hardware resources over high-speed internet. In the IaaS model, a cloud provider hosts hardware components that are traditionally present in an on-premises data center, including servers, storage and networking hardware, but unlike a hardware as a service (HaaS) provider, an IaaS provider will also host the software that makes virtualization possible. Typically, an IaaS provider also supplies a range of services to accompany infrastructure components. These can include detailed billing, monitoring, log access, security, load balancing and clustering, as well as storage resiliency, such as backup, replication and recovery.
Hardware as a service
While it's common for individuals or businesses to purchase computer hardware and then periodically replace or upgrade it, there's also the possibility to lease physical and virtual hardware from a service provider. The provider then becomes responsible for keeping hardware up to date, both in terms of its various components and the software running on it.
In the HaaS model, physical components that belongs to a managed service provider (MSP) is installed at a customer's site and a service-level agreement (SLA) defines the responsibilities of both parties. Sometimes, the client pays a monthly fee for using the hardware; sometimes, its use is incorporated into the MSP's fee structure for installing, monitoring and maintaining the hardware. Either way, if the hardware breaks down or becomes outdated, the MSP is responsible for decommissioning it and replacing it. Depending upon the terms of the SLA, decommissioning may include wiping proprietary data, physically destroying hard drives and certifying that old equipment has been recycled legally.
Types of hardware
Types of hardware include the following:
- Motherboard: The motherboard is the computer's central communications backbone connectivity point through which all components and external peripherals connect. The motherboard is the main printed circuit board in a computer. Also called the mainboard, the motherboard holds important components, including the CPU, RAM, power supply, graphics card and sound card.
- CPU: The CPU is responsible for processing most of the computer's data, turning input into output.
- RAM: The hardware in a computer where the OS, application programs and data that are being used are kept so the device's processor can quickly reach them. As the main memory of a computer, RAM is much faster to read from and write to than other types of storage, including a hard disk drive (HDD), solid-state drive (SSD) and optical drive. RAM is volatile, meaning that data remains in RAM if the computer is on, but it's lost when the computer is turned off. The OS and other files are reloaded into RAM, usually from an SSD or HDD, when the computer is rebooted.
- Display screen: A display screen may be an external monitor, or it may be built into the computer. A touchscreen display is sensitive to pressure. As such, a user interacts with the device by touching pictures or words on the screen.
- HDD: A nonvolatile memory (NVM) hardware device, an HDD stores OS files, application problems, media and other documents. The HDD can store data permanently even in the event of a power failure.
- SSD: A type of nonvolatile storage device that stores persistent data on solid-state flash memory. An SSD consists of a flash controller and NAND flash memory Unlike an HDD, an SSD doesn't have any moving parts. SSDs use flash-based memory, which is significantly faster than traditional mechanical hard disks. Since they're nonmechanical, SSDs use less power, which means longer battery life when they're built into laptop computers.
- Graphics card: Responsible for rendering graphics in a computer and projecting information onto a screen, a graphics card aims to remove the processing strain from the processor or RAM.
- Removable drives: Any type of storage device that can be removed from a computer while the system is running, including USB cards and optical discs, such as compact discs (CDs), Blu-ray discs and digital versatile discs (DVDs).
- Power supply: The power supply converts the power from the outlet into usable power for the other components inside the computer. Typically, more power is needed to run more complex systems. For example, a desktop computer with a high-end motherboard, a custom liquid cooling loop and dual GPUs will need a higher wattage computer power supply than a system that is not so complex.
Hardware vs. software
Hardware refers to the tangible aspects of a computing device that are needed to store and run the software. The hardware is the delivery system for the written instructions provided by the software. The software lets the user interact with the hardware, commanding it to perform specific tasks.
While companies manufacture hardware, engineers design software. In addition, hardware is the tangible part of the computer and includes the monitor, keyboard, mouse, printer, CPU and HDDs.
The software, which is intangible, consists of the OS, programs and applications that need to be installed on the computer. However, virtual keyboards on mobile devices or laptop computers are also considered software because they're virtual.
However, the software and hardware depend on each other to enable a computer to produce a useful output. Consequently, the software must be designed to work properly with the hardware. As such, tech companies employ hardware and software engineers to work together on products for businesses and consumers.
Auxiliary computer hardware is equipment that's used for input, output and data storage, including an adapter that enables one type of device to communicate with another and a complementary metal-oxide-semiconductor (CMOS), an onboard, battery-powered semiconductor chip inside a computer that stores data, including system hardware settings and system time and date.