Does capital gains tax apply only to real estate?
No. The CRA can charge capital gains tax on anything you sell that makes a profit including stocks, bonds, real estate investments and other assets (most retirement accounts in Canada, however, allow you to defer paying taxes on gains until you actually withdraw the money you made).