Nitrogen has either 3 or 5 valence electrons and is on the periodic table at the top of Group 15. It can have either 3 or 5 valence electrons, as it can bond in the 2p and 2s orbitals outside. Nitrogen makes up DNA both in the form of nitrogen bases and in neurotransmitters.