Nitric acid can be formed in two steps from the atmospheric gases nitrogen and oxygen, plus hydrogen prepared by reforming natural gas. In the first step, nitrogen and hydrogen react to form ammonia:.