RAM (random access memory) and ROM (read-only memory) are both types of computer memory that store data and programs that the CPU needs to access in