Understanding the Role of Dividends in Investing: A Comprehensive Guide