CPU or a microprocessor is the central processing unit of computer is like the brains of computer and CPU fetches program instructions from RAM (input), interprets and processes it (execution) and then sends back the computed results so that the relevant components can carry out the instructions.
The mechanism of CPU use the command to keep the memory read commands from the CPU memory to interpret and act as aligned to each order. The main function of the CPU is controlling the computer system. As well as the processing efficiency and speed of the CPU or the ability to, depending on the type or generation of CPU.