It depends. In a leasing agreement, you own the panels after the contract ends. In a PPA, the company owns the panels and you don't gain ownership after the contract.