The presence of nitrate ions in a sample is detected using the brown ring test.
The test is commonly performed by mixing a dilute ferrous sulfate solution with an aqueous solution containing nitrate ion, then carefully pouring strong sulphuric acid along the sides of the test tube.
The presence of nitrate ions in the solution is shown by a brown ring at the interface between the solution and the sulphuric acid layers.