In real estate investing, section 1031 is a tax provision that allows you to use the proceeds of a sale on the purchase of a like-kind property without incurring a tax on any capital gains from the sale.
https://www.investopedia.com/financial-edge/0110/10-things-to-know-about-1031-exchanges.aspx