The processor is the brain of the computer that performs mathematical and logical operations on the input data.