Compound indexes
In MongoDB, a compound index is an index that involves multiple fields within a collection's documents. Compound indexes can greatly improve query performance by allowing the database engine to filter on multiple criteria simultaneously. They are particularly useful for queries that involve sorting or filtering on more than one field.