Scheme 1. Formation of the imine (Schiff base) from a carbonyl containing compound proceeds via a hemi-acetal/ketal-like intermediate.