A library is a structure that houses metadata, points to the book formats, enables searching and viewing metadata or contents to aid book retrieval or research, has sorting and ordering mechanisms, has need of librarian and janitor to keep it stocked and tidy, and so on.