Income from the stock market is taxed based on its type: dividends are taxed as income, and bonus shares are taxed differently upon sale. Here are the tax rules for dividends, bonus shares, and buybacks.