Flexi Says: Nitrogen gas is formed when a triple covalent bond is formed when three pairs o electrons are shared between two nitrogen molecules. This triple bond is very strong and difficult to break, and this is the reason that nitrogen gas is a stable gas like an inert gas.