A nitrogen atom with no net charge has five valence electrons. It can form three covalent bonds with three other atoms, each sharing one of its valence electrons. This is because nitrogen needs three more electrons to complete its outer electron shell and become stable.