Depreciation
Depreciation is a tax deduction that lets owners of rental property recover the cost of the building, not the land, over its useful life.
For residential rental property, the IRS generally spreads the building's cost over 27.5 years, and commercial property over 39 years. Land does not depreciate, so the purchase price is split between land and building. Depreciation is a paper expense: it lowers taxable income without costing cash each year. When the property is sold, the depreciation taken is generally "recaptured" and taxed, unless the gain is deferred, for example through a 1031 exchange.
Example: you buy a rental for $200,000, of which $40,000 is the land's value, so the building is $160,000. Yearly depreciation is $160,000 ÷ 27.5 = about $5,818. If the rental's cash flow after expenses and mortgage interest is $4,000, depreciation can turn that into a tax loss on paper, subject to the passive activity rules. After ten years you have taken about $58,000 of depreciation, which comes into play when you sell.
For investors, depreciation is one reason rentals can be tax-efficient. The rules, including limits on deducting losses, vary with your situation, so work with a tax professional.