The hardware components of a computer system can be divided into three main categories: input devices, output devices, and the system unit. Input devices such as keyboards and mice allow a user to enter information into the computer. Output devices like monitors and printers display or print the information processed by the computer. The system unit contains the central processing unit, memory, storage devices, and other essential electronic components that process the input and facilitate output.