The photovoltaic effect is the creation of a voltage (or a corresponding electric current) in a material upon exposure to light. Though the photovoltaic effect is directly related to the photoelectric effect, the two processes are different and should be distinguished. In the photoelectric effect, electrons are ejected from a material's surface upon exposure to radiation of sufficient energy. The photovoltaic effect is different in that the generated electrons are transferred between different bands (i.e. from the valence to conduction bands) within the material, resulting in the buildup of a voltage between two electrodes.
In most photovoltaic applications the radiation is sunlight and for this reason the devices are known as solar cells. In the case of a p-n junction solar cell, illumination of the material results in the creation of an electric current as excited electrons and the remaining holes are swept in different directions by the built-in electric field of the depletion region.
