Suggest an editImprove this articleRefine the answer for “What is a database in MongoDB?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)A database in MongoDB is a logical storage space that groups collections together, the top level of MongoDB's data structure: the hierarchy is `Database → Collections → Documents`, and different databases have their own collections, indexes, access rights, and files on disk. **Key point:** users, roles, and other settings can be defined at the database level, so a database is a "top-level folder" for collections and documents, providing logical isolation of data by project or service.Shown above the full answer for quick recall.Answer (EN)ImageA database in MongoDB is a logical storage space that groups collections together. It sits at the top level of MongoDB's data structure. ### Briefly, the essence of it 1. **A container for collections** A database holds collections, and collections hold documents. The hierarchy looks like this: `Database → Collections → Documents`. 2. **Data isolation** Different databases have their own collections, indexes, access rights, and files on disk. This lets you split data by project or service. 3. **Grouping by meaning** For example, a single database can hold everything about an online store: `users`, `orders`, `products`, as separate collections within one database. 4. **Rights and settings** Users, roles, and additional parameters can be defined at the database level. **Summary:** a database in MongoDB is a "top-level folder" for collections and documents, providing a logical and organizational structure for the data.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.