Building blocks containing -NHNH2 are strong nucleophiles that condense with carbonyl compounds to form hydrazones and related derivatives. They are widely used to construct nitrogen-containing heterocycles and drug scaffolds.