Investing in the stock market can be daunting, especially for beginners. Understanding different types of…