Solar energy is clean energy in that it does no harm to the environment. So, how does it work? Light from the sun dislodges electrons in the solar panel, which are collected to have enough electricity to do some good. But, electrons repel each other, so there is material that allows electrons to pass in one direction where they are trapped and cannot get back.
The Earth has an excess of electrons, and stray electrons are constantly passing by. The solar panels renew their dislodged electrons from those passing electrons, so they can continue to supply even more electrons for you to use.
These electrons would make direct current possible, but other parts of the system convert the direct current to alternating current, and match the current to the current supplied by the power company. The frequency and the phase must both match. This allows your solar power and the power commercially supplied by the power company to be completely compatible. This is critical.
Introduction Image: This is an Amazon affiliate product. The product is shown below.