IRC Section 121
The primary-residence capital-gains exclusion — up to $250K single / $500K married on the sale of your home, if you've lived there 2 of the last 5 years. The framework that makes house hacking a serious wealth play, not just rent offset.