If the business then sells the asset for a gain (that is, for more than its adjusted cost basis), this part of the gain is called depreciation recapture.
If a taxpayer realizes both capital gains and capital losses in the same year, the losses offset (cancel out) the gains.