In a solar cell, electrons of depletion region jumps from valence band to conduction band after absorbing photons.