Index Fund
An index fund is a fund built to hold the same securities, in the same proportions, as a specific market index - with the explicit goal of matching that index's performance rather than trying to beat it. This is a strategy, and it stands opposite active management, where a fund manager picks and chooses individual stocks or bonds attempting to outperform the broader market. An index fund tracking the S&P 500 simply buys and holds all 500 companies in that index in matching weights, and its return will track the index closely minus a small fee - it will never dramatically beat the market, but it will also rarely dramatically lag it either.
Index fund is frequently, and understandably, confused with ETF, because the two overlap heavily but describe different things. Index fund describes a strategy - passively tracking an index. ETF describes a structure: shares in the fund itself change hands on an exchange whenever the market is open, at whatever price buyers and sellers agree. Most ETFs are index funds by strategy (an S&P 500 ETF is both an ETF and an index fund at once), but not all index funds are ETFs: many index funds are structured as traditional mutual funds instead, priced once daily after market close rather than trading continuously. So it is accurate to describe a single product as an index fund structured as an ETF, and that overlap is exactly why the two terms get used almost interchangeably in casual conversation.
Beginners are routinely pointed toward index funds for a specific, well-documented reason: the majority of actively managed funds fail to beat their benchmark index over long periods once fees are accounted for, so a low-cost index fund charging a fraction of a percent per year - say a 0.03% expense ratio, or $3 a year on a $10,000 investment - often outperforms a comparable actively managed fund charging ten or twenty times as much after fees are subtracted, purely by keeping costs low and not attempting to time the market.
The index fund concept is most developed in stocks and bonds, where broad, well-established indices like the S&P 500 or a total bond market index have existed for decades. Commodity index funds exist too, typically tracking a basket of futures contracts across energy, metals, and agriculture rather than holding physical goods. Crypto index products are newer and less standardized - a fund tracking the top ten cryptocurrencies by market cap functions on the same logic, but the underlying index construction and rebalancing rules vary far more between providers than they do for a mainstream stock index. Forex has no direct index-fund equivalent, since currencies are typically traded in pairs rather than held as a long-term diversified basket.
Matching an index is harder than owning it, and the gap has a name. Tracking difference is the amount by which a fund's return falls short of the index over a period, and it comes from fees, from cash held to meet redemptions, from tax withheld on dividends the index assumes are received in full, and from the cost of trading whenever the index changes its members. A well-run fund's shortfall is close to its fee; a poorly run one loses noticeably more, and comparing published tracking difference across funds tracking the same index is a more informative exercise than comparing their headline charges.
The other thing the structure hides is concentration. Weighting by market value means the largest companies dominate, and in the main American index the biggest handful has at times accounted for around a third of the whole, so a fund holding 500 companies follows a few of them far more closely than the rest. That is not a flaw, since the index is designed to reflect the market as it is, but it does mean the diversification implied by the number of holdings is considerably less than it sounds, particularly when those largest companies happen to share an industry.