CPU

A CPU's main function is to execute program instructions by performing arithmetic, logic, input/output (I/O), and control operations. Acting as the computer's "brain", the CPU follows a cycle of fetching, decoding, executing, and storing instructions from memory to process data, run programs, and manage the computer system's components.