Random-Access Memory (RAM) is volatile type of memory, i.e., the memory stored in the RAM is temporary. The stored information is lost if power is removed. On the contrary, ROM (Read Only Memory) is non-volatile as the information stored in it is permanent and is not erased off during the power off.