This visual execution shows how MongoDB compound indexes work with field order. First, a compound index is created on age and name. The index stores entries sorted by age first, then name. Queries that include age first can use the index fully, speeding up search. Queries that only specify name do not use the index efficiently. The execution table traces queries with different conditions and shows how index usage changes. The variable tracker records the index state, query conditions, and index usage after each step. Key moments clarify why field order matters and how it affects query performance. The visual quiz tests understanding of index usage at different steps and how changing field order affects queries. The snapshot summarizes the key rules for compound indexes and field order in MongoDB.