Excess of ammonia (NH3) when reacts with sodium hypochlorite solution (NaOCl) in presence of glue or gelatin gives hydrazine (NH2⋅NH2) This process is known as Raschig process
2NH3+NaOCl→N2H4+NaCl+H2O
Addition of gelatin or glue suppress the side reaction by complexing with the metal ions and yield of hydrazine is increased.