When you invest in assets like real estate, stocks, or collectibles, your primary goal is likely to make a profit. When that profit materializes through a sale, the government wants a cut. That cut is called a capital gains tax—a levy placed on the profit you make from selling an asset that has appreciated in value.