Index funds follow a specific index and buy some or all of the stocks in the index in order to obtain the same income as the index. In recent years, index funds have attracted more and more attention from investors because of their relatively small risks and high returns.