Acid hydrazides, potent reagents for synthesis of oxygen-, nitrogen-, and/or sulfur-containing heterocyclic rings.