Building blocks containing C=N-NH can be formed by condensation of aldehydes or ketones with hydrazines or hydrazides. They participate in cyclization and coupling reactions and serve as intermediates for diverse nitrogen-containing heterocycles.