An index is a theoretical portfolio of shares. These shares are selected according to a set of predetermined and defined rules. An index Committee creates these rules or criteria to determine which shares the index comprises and how much of each share it should hold. An index fund is a fund which buys shares and holds them in a portfolio in the exact same proportion of the index, thereby replicating the index identically.

Read more here.