RAM is volatile which means
Volatile memory is computer storage that only maintains its data while the device is powered the data in RAM stays there only while the computer is running