A CPU, or Central Processing Unit, is the primary component of a computer that performs instructions and processes data in order to carry out tasks.