This visual execution shows how MongoDB decides between embedding related data inside one document or using references with joins via $lookup. The flow starts by identifying the relation type. For small, tightly connected data, embedding is best. For large or many related items, references and $lookup joins are used. The sample aggregation query uses $lookup to join orders with product details. The execution table traces reading an order, performing $lookup to fetch product info, and adding it to the order document. Variables track the order document and product info as they change. Key moments clarify why $lookup is used instead of embedding and when embedding is preferred. The quiz tests understanding of the join steps and embedding impact. The snapshot summarizes the decision rules and trade-offs between embedding and joins in MongoDB.