# Documents and Collections

MongoDB keeps an app's data as documents, records that look like JavaScript objects, grouped into collections inside a database, and every document carries its own unique \_id.

![Cheat sheet: Documents and Collections](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/98ff7c03e12a4a00a74014a576d00c8b.webp)

- Category: Node.js
- Level: Apprentice
- Tags: \_id and ObjectId, BSON, Collection in MongoDB, Database in MongoDB, Document in MongoDB, mongodb, nosql
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/node-mongodb-documents-and-collections-cheat-sheet
