Tax related to death:
IRS Publication 559: Survivors, Executors, and Administrators (2020 returns)
(The IRS updates publications periodically. Please refer to the most recent publication.)
A June 2021 note issued by the Congressional Research Service:
Tax Treatment of Capital Gains at Death