In addition to impressive earnings growth, Hershey pays a regular quarterly dividend of 42 cents per share, representing an annual dividend yield of 2.3%.
But if you would have invested in a regular stock mutual fund, a lot of those earnings would have been taxed at the lower capital gains rate (currently 0-15%).