MongoDB stores its data in a flexible, JSON-like format called BSON (Binary JSON). It has a dynamic schema which means you can create records without first defining the structure, such as the fields or the types of their values. This brings flexibility as any JSON documents can be stored in MongoDB. Each BSON document is stored in a separate file.