Both are OK. If investors have the ability to choose high-quality funds, they can choose stock funds. If investors do not have the ability to choose high-quality funds, they can choose index funds.
Index funds are passive funds. The fund tracks a specific index and pursues the same returns as the market. Stock funds are active funds and pursue returns that exceed the market. Investing in stock funds requires investors to choose Excellent fund.