The central processing unit (CPU) is a set of electrical circuits responsible for controlling and processing data within the computer. It is the ‘brain’ of the computer. The CPU accepts the data from any input device, changes this data according to the instructions given by the user, and then sends the results to an output device.