A CPU in a computer stands for Central Processing Unit and the CPU is the brain of the computer and does all the calculations that the computer needs to perform.
When you move your mouse or type something on the computer the CPU is responsible for getting the text on the screen.
The CPU does many other calculations in the computer as well. Without the CPU your computer wouldn't work.