Aggregate
Aggregation pipelines process documents through a sequence of stages, where the output of each stage is the input to the next. This is MongoDB's most powerful query mechanism — it supports grouping, joining collections, computing new fields, bucketing, full-text search, vector search, and more.