MongoDB is a popular NoSQL document database — it stores data as flexible, JSON-like documents (in collections) rather than rows in tables. It offers a flexible schema, horizontal scalability, and a developer-friendly model that maps naturally to objects in code.
Documents and collections (vs tables and rows)
SQL (relational) MongoDB (document)
──────────────────────────────────────────
Database → Database
Table → Collection
Row → Document (a JSON-like object)
Column → Field
JOIN → embedding or $lookup
