If KSDS (Key Sequenced Data Set) is the book, then the library would be the storage medium where it resides. Just as books are stored in a library, KDS datasets are stored on secondary storage like tape or disk. The library analogy points to where the data is physically kept, which is tape or disk storage, not the operating system (MVS, z/OS) or main memory.