Question: why urea gives green flame?
Answer: urea, thiourea, amides etc. also respond this test. The reason being the fact that these halogen free compounds form cuprous cyanide which is volatile and decomposes to copper which burns with green flame.