Google is a search engine.
Libraries subscribe to Databases.
Although you use both to search, they are very different things.
Library databases consist of a limited collection of records for newspaper, journal, and magazine articles. Within these databases we have access to some full-text versions of articles and for others we can only see the record/citation.
There are databases that specialize in particular subjects where all the records relate to one subject. Other databases are more general.
EBSCOhost, ProQuest and Gale are the biggest companies that provide libraries with databases.
The video above further explains how someone's idea turns into an article that ends up searchable in a database.