Hydrazones are a class of organic compounds with the structure . They are related to ketones and aldehydes by the replacement of the oxygen =O with the = functional group. They are formed usually by the action of hydrazine on ketones or aldehydes.