The main memory of the computer system, the RAM, fetches all the data from the secondary storage like a hard drive, solid drive, or removable disk. Then it passes the data to the CPU.