Primary storage devices include cache memory and RAM that are located inside the computer. Cache memory temporarily stores frequently used data closer to the CPU than RAM for faster access. RAM holds programs and data being actively processed. ROM is non-volatile memory that stores critical instructions and cannot be changed by the user, including BIOS programs. Different types of ROM are MROM, PROM, EPROM, and EEPROM, which can be electrically erased and reprogrammed unlike MROM and PROM.