A 1031 allows investors to defer taxes on the profitable sale of an investment property as long as they reinvest the sale proceeds into another "like kind" property.
The "like kind" replacement property is purchased first, then the relinquished property is sold.