It is a specific analytical test for aldehydes and ketones. carbonyls react with 2,4-Dinitrophenylhydrazine forming phenylhydrazones which precipitate yellow. The appearance of a precipitate is an indicator of the presence of carbonyls in the medium.

ensayo-fenilhidrazina01.gif
The mechanism of the reaction is analogous to that of imine formation.