Memory is the most important part of a computer system since the computer cannot perform basic tasks without it. The primary memory consists of RAM and ROM. Memory devices use built-in circuits and are used by operating systems, applications, and hardware. There are two types of memory in a computer known Primary memory and Secondary memory. RAM & ROM are known as the Primary memory. However, Hard Disk Drives, CDs, and any other external storage devices are known as secondary memory.