Usually the RAM as it temporarily stores information to be processed and stored into the hard disk, but sometimes if the disk is asked to store information really quickly more quickly than physically possible it will be stored into the cache of the hard disk