# $lookup: Bringing in Related Documents

$lookup brings matching documents from another collection into each document of a pipeline, such as each order's customer, as an array you can unwind, and a lookup a screen needs on every read is a sign to embed or copy those fields instead.

![Cheat sheet: $lookup: Bringing in Related Documents](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/8da768da9e2e44bc8732e3a7466f310a.webp)

- Category: MongoDB
- Level: Journeyman
- Tags: $lookup, Document Reference, Embedding vs Referencing, mongodb
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/mongodb-aggregation-lookup-cheat-sheet
