Energy bands and charge carriers in semiconductors describes how bonding forces in solids lead to the formation of energy bands. In intrinsic semiconductors, there is a small band gap between the valence and conduction bands, allowing a small number of electrons to be thermally excited across the gap. Extrinsic semiconductors are doped with impurities to introduce additional mobile charge carriers, making them either n-type or p-type and allowing electrical conductivity to be controlled. Doping introduces shallow impurity energy levels near the bands which donate or accept electrons.