A computer is an electronic device that processes data into information and communicates the results through various input and output devices. The central processing unit (CPU) is the brain of the computer, carrying out instructions and coordinating hardware components through its arithmetic logic unit, control unit, and memory or storage unit. Computers have evolved through generations, from early vacuum tubes to modern multi-core processors, each improving in speed, efficiency, and usability.