text: An enamine is an unsaturated compound derived by the condensation of an aldehyde or ketone with a secondary amine. Enamines are versatile intermediates.
  The word "enamine" is derived from the affix en-, used as the suffix of alkene, and the root amine. This can be compared with enol, which is a functional group containing both alkene (en-) and alcohol (-ol). Enamines are considered to be nitrogen analogs of enols.
  If one or both of the nitrogen substituents is a hydrogen atom it is the tautomeric form of an imine. This usually will rearrange to the imine; however there are several exceptions (such as aniline). The enamine-imine tautomerism may be considered analogous to the keto-enol tautomerism. In both cases, a hydrogen atom switches its location between the heteroatom (oxygen or nitrogen) and the second carbon atom.
  Enamines are both good nucleophiles and good bases.  Their behavior as carbon-based nucleophiles is explained with reference to the following resonance structures.