Getting a DatabaseA single instance of MongoDB can support multiple independent databases.
db = client.test_database
Getting a CollectionA collection is a group of documents stored in MongoDB, and can be thought of as roughly the equivalent of a table in a relational database.