When a computer system is turned ON by powering up, then certain files are loaded into the RAM from the hard disk. These files are usually those files that are required for displaying the desktop. As long as the system is powered up, these files remain in RAM. Apart from that any additional application or file that needs to be opened, are first loaded into RAM.