The electronic structure of metals means they are relatively good conductors of electricity. The electrons all have different momenta, which average to zero when there is no external voltage. When a voltage is applied some move a little faster in a given direction, some a little slower so there is a net drift velocity which leads to an electric current. This involves small changes in which wavefunctions the electrons are in, changing to those with the higher momenta. Quantum mechanics dictates that one can only have one electron in a given state, the Pauli exclusion principle. Therefore there have to be empty delocalized electron states (with the higher momenta) available at the highest occupied energies as sketched in the Figure. In a semiconductor like silicon or a nonmetal like strontium titanate there is an energy gap between the highest filled states of the electrons and the lowest unfilled, so no accessible states with slightly higher momenta. Consequently, semiconductors and nonmetals are poor conductors, although they can carry some current when doped with elements that introduce additional partially occupied energy states at higher temperatures.