Then it would be taxed under inheritance tax (at the full value of the property - not just the gains).
Edit - I’m wrong, I am uk based - just read up on US, wild that you can inherit a house that’s gone up in value massively then sell it and experience no gains or inheritance tax.
opposite, income taxes take place first. after a waiting period, its just capital gains. capital gains taxes are typically lower than income taxes so this encourage long term holding