How a solar cell makes electricity

Photons, electron–hole pairs and the p–n junction, animated step by step.

Key takeaways

  • A solar cell is a large p–n junction diode made of silicon.
  • Light frees electrons; the junction's electric field pushes them to the contacts.
  • The cell produces direct current (DC); an inverter converts it to AC.

All solar lessons