Computer is an electronic device that receives input, processes data based on stored instructions, and produces output. It consists of both hardware and software. Computer components include the system unit, CPU, memory, ports, input/output devices, and storage devices. Computers are categorized based on size, speed, and cost into personal computers, palmtop computers, servers, mainframes, and supercomputers. Computers are widely used at home, for education, e-commerce, finance, and telecommuting.