When atoms are brought close together in a solid, the Pauli exclusion principle dictates that no two electrons can have the same quantum state. This causes the discrete energy levels of individual atoms to split and broaden into continuous energy bands.