How can nitrogen break the octet rule?

Flexi Says:
Each nitrogen atom follows the octet rule with one lone pair of electrons and six electrons that are shared between the atoms.
Each nitrogen atom follows the octet rule with one lone pair of electrons and six electrons that are shared between the atoms.