<human>:  What are some of the tax benefits when owning a rental property?
<bot>: Some of the tax benefits when owning a rental property include deductions on mortgage interest paid, deductions on property taxes, potential income tax deductions on depreciation of the property, potential credits for certain energy efficient upgrades, and potential capital gains tax exclusions or deferrals when the property is sold.