Capital gains tax is applicable when any investment such as rental property, share investments , other long term investments such as bitcoins, crypto are sold for a gain.