Aldehydes and ketones react readily with primary or secondary amines with an optimal reaction pH of 4–5.
Consider the reaction between 2-butanone and methylamine shown below.



