Secondary storage refers to a nonvolatile memory that resides outside the CPU on devices such as magnetic disks and tapes. Data is stored on secondary storage devices, retrieved, and put into primary memory, where it is processed, and then is transferred back to secondary storage. There are two types of secondary storage: sequential storage and direct-access storage.