MongoDB stores documents in a collection. A MongoDB database is made up of these collections of documents.
A Mongo collection is like a table in a spreadsheet or relational database — each document is like a row in the spreadsheet.
Documents contain one or more key/value pairs. Each key has a corresponding value of a specified data type, like array, number, or string. MongoDB organizes documents with similar structure into collections.