* Part of a proper noun: For example, "The New York Public Library" or "The British Library."
* Used as the name of a specific library: For example, "I went to the Central Library."
Examples:
* Not capitalized: I went to the library to borrow a book.
* Capitalized: I visited the Library of Congress.
In summary: Capitalize "library" only if it is part of a proper noun or refers to a specific library. Otherwise, it should remain lowercase.