RAM stands for random access memory.
RAM is volatile memory. This is because it is used to store data and program instructions so that the CPU can retrieve them quickly.
They are stored on the RAM as it doesn't take as long to reach than the hard disk.