There is a lot to know about reinvesting dividends, from how it works to the tax treatment to living off dividends in retirement.