Primary memory, also known as RAM (Random Access Memory), is a type of computer memory that is used to store data and machine code currently being used and processed by a computer. Here are some examples of primary memory in a computer: