Deductions & credits

Of course I hope you have been taking depreciation as required ... if you have not then seek local professional assistance to get this corrected on  the 2020 return.   And part of the profit will be recaptured depreciation and that will be taxable ... you cannot exclude that.