The $addFields stage in MongoDB aggregation takes each input document and adds new fields by computing expressions. For example, multiplying price and quantity to get a total. Each document is processed one by one, the expression is evaluated, and the new field is added. This process repeats until all documents are processed. The output documents have all original fields plus the new computed fields. This is useful to enrich data without changing original fields. If a field used in the expression is missing, the result may be null or missing. The execution table shows each step with input document, expression, computed value, and output document. The variable tracker shows how price, quantity, and total change per document. Understanding this helps create dynamic fields in aggregation pipelines.