An index tracks a defined basket of securities, for example the largest listed companies in a country, so you can follow the market as a whole.
Index funds aim to copy an index rather than beat it. That typically means broad diversification at a low cost.