Primary storage is a category of computer storage, often called main memory. Primary storage has three functions: Stores all or part of the program that is being executed. Stores the operating system programs that manage the operation of the computer. Holds data that the program is using.