$match
The $match stage in MongoDB's aggregation pipeline is used for filtering documents to pass only those that meet certain conditions to the next stage in the pipeline. It's similar to the WHERE clause in SQL queries. The $match stage can significantly reduce the number of documents that have to be examined in subsequent stages of the pipeline, thereby improving performance.