Many chemical compounds that are important for industrial purposes contain nitrogen ions. These include ammonia, nitric acid, nitrates and cyanides. Nitrogen comes in several oxidation states; -3, -2, -/, +1, +3, +4, and +5. Each of those oxidation states has its set of compounds.