Primary storage is known as the main memory of a computer, including RAM (Random-Access Memory) and ROM(Read-Only Memory). It is an internal memory (inside the CPU) that can be accessed directly by the processor.
Primary storage is installed internally. Two main types of primary storage are RAM and ROM. Data from RAM can be read or retrieved and written or stored during processing whereas data from ROM can just be read only.
RAM is volatile, which means the program and data will be lost when the computer is turned off.ROM is non-volatile which means it holds the programs and data even when the computer is turned off.
Many complex functions, such as translators for high-level languages and operating systems are placed in primary storage.