The main function of the CPU is processing instructions given to the computer. This is why the CPU is known as the "brain" of the PC. Every operation that is carried out, including key strokes, opening and closing programs, and saving files, is carried out by the CPU. This function is separated into four functions or steps for every operation: fetch, decode, execute and store.