Aldehydes and ketones react to yellow, orange, or reddish-orange precipitates with the 2,4-dinitrophenylhydrazine reagent, whereas alcohols do not react. This is a successful technique for checking for the existence of a drug or demonstrating its absence.