A CPU (Central Processing Unit) is the primary component of a computer that performs most of the processing inside a computer. It executes instructions from programs, enabling devices to run software and perform tasks.