Whats the difference between a CPU and RAM?

A CPU is a Centralized Processing Unit that processes data, RAM is Random Access Memory which is used to store temporary data for fast access by the processor.  The processor processes the data that is stored in the memory.