# What is MongoDB used for?

What is MongoDB used for?

##### Post Metadata
- Posted at: over 2 years ago
- Author title: Pinned by G2 as a common question
- Net upvotes: 1


## Comments
### Comment 1

Apart from being a NoSQL, would be happy to tell it provides a lot of flexibility with changing document schemas, and really good for analytics. Recently I used in a third party service integration, which had restful api, and stored all the json payload and json response in a collection and whenever wanted to fetch out request and response, it was quite easy to fetch the data. But yes, you might face difficulties in learning the syntax in the beginning, but trust me, once you get hold of it, it&#39;s no way back..

##### Comment Metadata
- Posted at: over 2 years ago
- Author title: Software Engineer
- Net upvotes: 1


### Comment 2

MongoDB is used to store data, but not in the ’boring old rows-and-columns way.
If SQL databases are Excel sheets. 
MongoDB is more like’ JSON files stored at scale.’

People actually use MongoDB for Web apps, Mobile apps, APIs or Anything where data shape keeps changing.

People pick MongoDB because it stores data as documents (JSON-like).
So you can save things like user profiles, posts, comments, settings. all together.
No fixed schema forcing you to define every column upfront.

Example.

User A has name, email, phone.
User B has name, email, address, hobbies, profilePhoto.

In SQL’, you suffer.
In MongoDB, it’s normal.

Common use cases is User authentication systems.
E-commerce products and carts.
Chat messages.
Dashboards.
Logs and analytics data

What MongoDB is bad at is Complex joins like banking systems and Heavy transactions where absolute consistency matters.

It replaces SQL only when flexibility matters more than strict structure.

##### Comment Metadata
- Posted at: 3 months ago
- Author title: Full Stack Web Developer | Expert in MERN Stack | Ex-Infosys OE 



### Comment 3

MongoDB is a NoSQL database, that works on concepts of documents, and collections rather than tables and relations. 

##### Comment Metadata
- Posted at: over 2 years ago
- Author title: SDE - Fullstack and Infra




## Related Product
[MongoDB](https://www.g2.com/products/mongodb/reviews)

## Related Category
[Document Databases](https://www.g2.com/categories/document-databases)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: almost 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: almost 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: almost 13 years ago
  - Comments: 4


