An index fund is a mutual fund or ETF that tracks the performance of an underlying index, such as the S&P 500, the total stock market, the Russell 2000, and others. Index funds are considered one of the best long-term strategies for building wealth. Index funds seek to match the overall market, not beat it.