A central processing unit (CPU) is the primary component of a computer that carries out instructions and performs calculations. It is the "brain" of the computer and is crucial for executing tasks, managing data, and coordinating various components, making it a vital part of any computer system.