The document discusses different methods for aggregating data in MongoDB, including:
1) The aggregation pipeline, which allows data to be transformed through multi-stage pipelines of operations modeled on data processing. It is the preferred method.
2) Map-reduce operations, which use custom JavaScript functions to perform aggregation but are less efficient than pipelines.
3) Single-purpose aggregation commands that provide counts, distinct values, and grouping in a simple way but with less flexibility than pipelines.