Prussian blue forms in the nitrogen test as a result of the reaction between dissolved nitrates and a reagent containing sulfanilamide and napthylethylenediamine dihydrochloride. The formation of Prussian blue indicates the presence of nitrates in the sample being tested.