Hier, j'ai emprunté trois livres à la bibliothèque.
Yesterday, I borrowed three books from the library.
Nous devons rendre ces livres à la bibliothèque.
We have to return these books to the library.
Note
The article is part of the word: la bibliothèque. That way you learn the gender with it.
Remember la bibliothèque for good. ripiti brings the word back just before you forget it, with these sentences. Free, no account needed, works offline.