A computer is a general purpose electronic device that performs arithmetic and logical operations automatically. It consists of both hardware and software components. Hardware includes physical parts like the monitor, keyboard, mouse, speakers and the central processing unit (CPU). The CPU contains the SMPS and drives like the SSD, HDD, and SSHD. Software is a collection of programs and instructions that perform tasks and can be stored in the hardware.