When certain semiconducting materials, such as certain kinds of silicon, are exposed to sunlight, they release small amounts of electricity. This process is known as the photoelectric effect. The photoelectric effect refers to the emission, or ejection, of electrons from the surface of a metal in response to light. It is the basic physical process in which a solar electric or photovoltaic (PV) cell converts sunlight to electricity.
Sunlight is made up of photons, or particles of solar energy. Photons contain various amounts of energy, corresponding to the different wavelengths of the solar spectrum. When photons strike a PV cell, they may be reflected or absorbed, or they may pass right through. Only the absorbed photons generate electricity. When this happens, the energy of the photon is transferred to an electron in an atom of the PV cell (which is actually a semiconductor). With its newfound energy, the electron escapes from its normal position in an atom of the semiconductor material and becomes part of the current in an electrical circuit. By leaving its position, the electron causes a hole to form. Special electrical properties of the PV cell—a builtin electric field—provide the voltage needed to drive the current through an external load (such as a light bulb).