The CPU executes instructions, performs calculations, and manages data flow, making it analogous to the brain of a living organism.