The system is connected to your respective DISCOM company and also your home. When solar creates electricity, it is used by your home appliances and when there is excess energy, it goes to the grid and in turn you receive money for the energy you give.