Dear Student
Nitrobenzene cannot be used as the starting material for the production of ammonia hence as in the nitrobenzene the nitro group undergo resonance and hence it carries the double bond character on the nitrogen hence it cant evolve as ammonia.
Regards