An index fund is a single investment that holds every company in a market index, like the 500 large U.S. companies in the S&P 500. Buy one share, and you own a sliver of all of them.
Why people like them
Diversification: one company having a bad year barely dents a fund holding hundreds. Low cost: because they simply follow an index, many charge very low yearly fees, called expense ratios. Over decades, small fee differences add up to real money.
What to know before you buy
Index funds go up and down with the market, sometimes sharply. They're generally a tool for money you won't need for five or more years, so you have time to ride out the dips. Money for an emergency fund or a near-term purchase usually belongs somewhere steadier.
Where people hold them
Common places include workplace retirement plans like a 401(k) (especially if your employer matches contributions), IRAs, and regular brokerage accounts. Each has different tax rules and limits.
This is general education, not investment advice. Consider talking with a licensed professional about your situation.