Computer is an electronic device that accepts data as input, processes it, and provides results as output. It has three main components: the arithmetic logical unit (ALU) that performs calculations, the control unit (CU) that directs operations, and the central processing unit (CPU) that comprises the ALU and CU. Computers store data temporarily in RAM and permanently in various storage devices like hard disks, tapes, optical disks, and flash drives. They have evolved through five generations from vacuum tubes to today's integrated circuits and microprocessors. Computers come in various sizes ranging from supercomputers to desktops, laptops, and palmtop computers. They accept input through devices like keyboards and provide output through monitors and printers.