If you have real estate, not your primary residence, and you elect to sell you can avoid capital gains by rolling over the property in a like kind new property. It's called a 1031 Exchage. You defer capital gains until some other time. You cannot take possession of the funds and you must use a...