'Aldol condensation' :
This reaction is given by aldehydes or ketones having alpha hydrogen atom. The alpha hydroge atom is acidic in nature. In presence of dil NaOH/KOH or Na2CO3, two molecules of an aldehdye or ketone add to form beta hydroxy aldehdye (aldol) or beta hydroxy ketone (ketol).
The name aldol represents two functional groups, 'al' for aldehdye and 'ol' for alcohol. During the reaction, one aldehyde molecule acts as a nucleophile and adds to second molecule. Alpha C atom of first molecule is attached to carbonyl carbon of second molecule. A C−C bond is formed.
When aldol (or ketol) is heated in presence of acid or base, it undergoes dehydration to form alpha-beta unsaturated aldehdye or ketone.
2(CH3)2C=O+dilNaOH⇌(CH3)2C(OH)−CH2−C(=O)−CH3Δ−→(CH3)2C=CH(=O)−CH3