In many places, it's possible to sell the surplus electricity generated by your solar panels to your electricity supplier through net metering agreements.