A computer's RAM and ROM are both types of memory. Temporary files are stored in RAM. You computer stores its instructions in nonvolatile memory.