From an example with real figures, it can be explained as below.
Let's say your monthly electricity consumption is 650 units. Then your monthly electricity bill will be Rs. 25,000/-.
If you install a solar system with net metering agreement, you can save Rs. 25,000 monthly.
When you install the solar system,It must be financed by a personnel loan. Then your monthly installment will be less than Rs. 23,000 per month for 5 years period.
Then you can use your monthly saving from electricity bill to pay the loan installment & It means that your cash outflow is zero. virtually you are not investing a single cent for the solar system from your wallet.
After your loan is fully settled. you have to pay neither electricity bill nor loan installment. Then your harvest is matured & you can benefit it for your life time.
what is net metering?
For more details