Random Access Memory (RAM) is a type of data storage used in computers that is generally located on the motherboard. This type of memory is volatile and all information that was stored in RAM is lost when the computer is turned off. Volatile memory is temporary memory while Read-Only Memory (ROM) is non-volatile and holds data permanently when the power is turned off.
RAM is often divided into Stack Memory and Heap Memory
Source: Random access memory (RAM)