Both electrons and holesA hole is created in a semiconductor when a valence electron moves to the conduction band. When potential difference is applied across the semiconductor, the electron drifts opposite to the electric field applied, while the hole moves along the electric field. Therefore, electric conduction takes place in a semiconductor because of both electrons and holes.