A on-grid solar system is energized by photovoltaic panels which are connected to the utility through a bi-directional meter which keeps track of all the power the solar system produces. Any solar energy that is not used immediately goes back into the grid through this meter. The utility gives credit for the excess electricity received by its and deducts the credits earned from your monthly electricity bill.