The electronic configuration of ‘N’ atom is 2, 5 and to have Octet in the valence shell it requires three more electrons.When two nitrogen atoms approach each other, each atom contributes 3 electrons for bonding.There are six electrons shared between two nitrogen atoms in the form of three pairs.Therefore, there is a triple bond between two nitrogen atoms in $N _{ 2 }$ molecules.