Grid connected solar system is hooked to utility power line.
DC power from solar panel is delivered to grid connected inverter
and converted to AC power, then consumed by appliance. If
the power is not enough, utility power will be drawn (buy).
If there is excess power, it will push that power back to
utility power line (sell).