What is the difference

If you purchase a property for $300,000 and sell it for $400,000, the capital gain you made was $100,000 and this is what capital gains tax is assessed on.
Property tax is assessed on the value of the real estate which is $400,000.