When Pentan-3-one reacts with hydrazine (H$_2$N-NH$_2$), it forms a hydrazone derivative. Upon further heating with KOH in ethylene glycol, it undergoes the Wolff-Kishner reduction, leading to the complete removal of the carbonyl oxygen and yielding n-pentane.