In a semiconductor, the energy difference between the highest valence band and the lowest conduction band.