Light energy (photons) ionizes the atoms in the silicon and the internal field produced by the junction separates some of the positive charges (holes) from the negative charges (electrons)
Light energy (photons) ionizes the atoms in the silicon and the internal field produced by the junction separates some of the positive charges (holes) from the negative charges (electrons)