Investing in index funds is a great way to generate passive income, especially if you are a beginner. There’s an old saying you’ll often come across, “Don’t put all your eggs in one basket”. That means if you invest all your money in one stock, you will significantly increase your investment risk.