Computer memory consists of three levels in a hierarchy: internal processor memory, primary or main memory, and secondary or auxiliary memory. Internal processor memory is very fast but small and stores temporary data. Main memory is larger but slower, storing both instructions and data directly accessible by the processor. Secondary memory is much larger but slower, used for long-term storage of files and programs that are transferred to main memory for access.