Final answer:
Nitrogen needs to gain 3 electrons to become stable by forming covalent bonds.
Step-by-step explanation:
Nitrogen is a nonmetal element with atomic number 7. In order to become stable, nitrogen needs to gain 3 electrons. This can be achieved by forming 3 covalent bonds. For example, nitrogen can combine with 3 hydrogen atoms to form ammonia (NH3), where each hydrogen atom shares one electron with nitrogen, resulting in a stable configuration.
Learn more about Stability of nitrogen by gaining electrons