Lassaigne's test helps to detect Nitrogen, Sulphur, and Halogens in organic compounds. Here, sodium metal (Na) is heated in the presence of the organic compound inside a fusion tube. The primary objective of this test is that all the available elements are converted by Sodium metal (Na) into the ionic state. Lassaigne test reaction for sodium is given below:
N+Na+C→NaCN
S+2Na→Na2S
X+Na→NaX
In the third experiment, X can be anything such as Cl,Br or I.