A capital lease is a long-term lease agreement where the lessee assumes many of the risks and benefits of ownership, typically including the obligation to purchase the asset at the end of the lease term. It is treated similarly to the purchase of an asset on the balance sheet, with the lessee recognizing both the asset and the liability for future lease payments.