Here is what happens when two nitrogen atoms come together. Fill in first the atomic orbitals for each nitrogen (on the edges) followed by the molecular orbitals for N₂ (in the center).