MongoDB organizes data in a three-level hierarchy:
Database: Top-level container for collections
Collection: Group of MongoDB documents
Document: Individual record in a collection
Example structure:
Database: ecommerce
├── Collection: users
│ ├── Document: {_id: 1, name: "John", email: "john@email.com"}
│ └── Document: {_id: 2, name: "Jane", age: 25, city: "NYC"}
└── Collection: products
└── Document: {_id: 1, title: "Laptop", price: 999.99}