The word to fill the blank space is "Secondary Memory". Complete sentence will be as below:
Secondary memory holds data at a time when the computer is not on an/or at a time when a program is operating its functions. This part also serves as archival storage, it is used when someone needs to store huge amount of data and for a longer period of time.