Stock market indices, such as the S&P 500 and the Dow Jones Industrial Average, track the performance of a group of stocks and serve as benchmarks for the overall market. They help investors gauge market trends and make informed investment decisions.