Lassaigne's test is given by only those
compounds which contain both carbon and
nitrogen. When compounds containing C and N
heated with sodium, then it form NaCN which is
easily detected by FeCl3Or
Some compounds live hydrazine (NH2 . NH2)
although contain nitrogen but they do not respond
Lassaigne's test because they do not have any
carbon and hence, NaCN is not formed.