The tendency of the outermost s 2 pair of electrons in an atom to remain unshared in compounds, leading to a lower oxidation state, occurs in groups 3, 4 and 5.
The ability of some atoms to use d-orbitals to have more than 8 electrons in their valence (outer) shell explains why period 2 elements can only form compounds with eight outer shell electrons, but period 3 elements can form compounds with more than 8 electrons in their outer shell.
Nitrogen’s only chloride is NCl 3 but phosphorus can form PCl 3 or PCl 5 ; phosphorus has access to d-orbitals, which can accommodate more electrons, so there is no longer a limit of 8 electrons in the outer shell.