An index fund is a type of mutual fund or ETF that aims to replicate the performance of a specific market index, like the Nifty 50 or the S&P 500 Index. It achieves this by holding the same securities in the same proportions as the index it tracks, providing investors with broad market exposure.