# Mongo DB

**MongoDB** *is a **NoSQL document-based database** that stores data in **JSON-like format (BSON)**. Instead of tables and rows like SQL, MongoDB uses **collections** and **documents**.*

*It’s flexible, scalable, and perfect for modern web apps, especially those using JavaScript or Node.js.*

*MongoDB is schema-less, meaning you don’t need to define the structure of your data upfront — great for fast development.*

***

### Key Concepts

* **Database** → like a schema in SQL
* **Collection** → like a table
* **Document** → like a row (stored in JSON format)
* **\_id** → unique identifier for each document
* Uses BSON (binary JSON) internally
