CPU stands for Central Processing Unit.  It runs calculations (or more precisely, computations). Memory is a type of temporary data storage space that is utilized by active processes that are being run by the CPU.