p-Dimethylaminobenzaldehyde reacts with hydrazine to form p-Dimethylaminobenzalazine azo-dye which has a distinct yellow color. It is therefore used for spectrophotometric determination of hydrazine in aqueous solutions at 457 nm.