A grid-tied electrical system produces alternating current (AC) which is fully compatible with the electricity supplied by the power company. So during times when your electrical needs surpass your system’s production, the additional electricity flows to you from the grid and your meter counts forward as normal. However, when your system produces more than your electrical needs, you supply power back to the grid and your meter counts backward. At the end of the month, you only pay for the difference (this is called net metering).
This lets you produce, and get credit for, as much energy as possible without having to worry about solar batteries or other storage systems. It’s a clean, easy, and efficient way to generate your own power. Think of it as, “What you don’t use, you automatically sell to your neighbors!”