The electronic equipment that executes instructions in a computer program is known as a central processing unit (CPU), sometimes known as a central processor, main processor, or simply processor. Basic arithmetic, controlling, logic, and input/output (I/O) tasks are performed by the CPU as described by the program's instructions.