With MongoDB, we work with a NoSQL document database. MongoDB stores JSON objects as binary JSON (a document), and each document (each JSON object) is a row in a table.
JSON (JavaScript Object Notation) is simply a JavaScript literal object used as a data interchange format. It is represented like this: {}, a pair of braces with key-value pairs inside.
MongoDB uses BSON format, which is just binary JSON to store, receive, and send JSON data. Mongo extends the JSON with BSON to provide additional data types, and to encode and decode between different languages more efficiently.
We can use MongoDB on-premises, but we can also use it as a cloud service with all cloud providers and, of course, in the Azure platform.