The capital gains tax is a tax that's charged on the profit made from certain assets, like stock investments or real estate.