An index fund largely means investing in a basket of stocks that represents a particular index. So, giving an example; if an investor chooses to invest in an index fund of Nifty 50, then the amount will get invested amongst all the 50 stocks in Nifty, in the same proportion.