What is the band gap in a semiconductor?
A) The distance between atoms in a crystal lattice.
B) The energy range in an electronic band structure that cannot be occupied by electrons.
C) The separation between magnetic spin states.
D) The transition energy between the valence and conduction bands.