I know that solar cells are produced by DC and then converted into alternating current through the inverter, who explains why the solar cell is produced by DC?
The electrons in the outer layer of the semiconductor nuclei are absorbed into the high energy level when they are exposed to light. The unstable electrons are returned to the semiconductor by the external circuit. The direction of the movement of the electrons in the external circuit is determined.
The key is to have a magnetic field change. Of course, there is no solar energy. There are only energy changes.
In fact, just to understand what is the case of AC on the line. The reason for the generation of alternating current is because the conductor cut the magnetic induction line.
The electrons flow from the p region to the n region, and the current is formed after the circuit is turned on. This is the photoelectric effect of the working principle of solar cells. In the PN junction in the direction of electronic movement is fixed, is irreversible, so the resulting DC
The sun is irradiated on the semiconductor p-n junction to form a new hole-electron pair. Under the action of the p-n junction electric field, the holes flow from the n region to the p region.