Basically your estate has to pay up all pending taxes / capital gains as if it sold all its property at the time of death.
It's only a concern for the middle class, and there are other rules that cover them.