orbitals
Carbon atomic number 6 has six electrons. Four of them fill the 1s and 2s orbitals. The remaining two electrons occupy the 2p subshell. We now have a choice of filling one of the 2p orbitals and pairing the electrons or of leaving the electrons unpaired in two different, but degenerate, p orbitals. The orbitals are filled as described by Hunds rule: the lowest-energy configuration for an atom with electrons within a set of degenerate orbitals is that having the maximum number of unpaired electrons. Thus, the two electrons in the carbon 2p orbitals have identical n, l, and ms quantum numbers and differ in their ml quantum number in accord with the Pauli exclusion principle . The electron configuration and orbital diagram for carbon are:.