When you invest money in the stock market, you have to pay tax.