Nitrogen is a diatomic molecule in the VA family on the periodic table. Nitrogen has five valence electrons, so it needs three more valence electrons to complete its octet. A nitrogen atom can fill its octet by sharing three electrons with another nitrogen atom, forming three covalent bonds, a so-called triple bond.
Hope I helped :)
-Bucky