A computer's Random Access Memory stores data for short-term use. RAM works in conjunction with the hard drive, which takes care of long-term storage, to provide quick access to files that the computer is actively reading or writing. Unlike hard drive memory, however, program data stored in RAM is erased when you reboot the computer or when another program needs the space for its own use.