Index funds are a sort of financial instrument that aggregates investor funds and invests them in assets such as stocks or bonds. An index fund seeks to replicate the performance of a certain stock market index. A market index is a fictitious portfolio of securities that reflects a market sector. The S&P 500 index, for example, represents 500 of the biggest corporations in the United States.