The document discusses the different types of memories used in computers, including primary memory (RAM and ROM), secondary memory (magnetic disks), and optical memory. Primary memory is semiconductor memory located directly in the CPU that is used for temporary storage of actively used data and programs. It includes volatile RAM and non-volatile ROM. Secondary memory is located outside the CPU and is used for bulk storage of data, including magnetic hard disks and floppy disks.