What is a CPU (Central Processing unit)?

The computer’s central processing unit (CPU) is the segment of a computer that recovers and executes instructions in the computer. A central processing unit (CPU) is the electronic hardware that implements guidelines containing a computer program. The CPU executes arithmetic, logic, controlling, and input/output (I/O) tasks indicated by the directions in the program. Segments of a CPU incorporate the arithmetic logic unit (ALU) that executes arithmetic and logic operations, processor registers that supply operands to the ALU and store the results of ALU tasks, and a control unit that executes instructions by directing the coordinated tasks of the ALU, registers and different segments.