(i) Benzoin condensation:
When benzaldehyde is refluxed with aqueous alcoholic potassium cyanide - α - hydroxy ketone called benzoin is formed.
C6H5CH=O+H−O∥C−C6H5alc.−−−→KCNC6H5CHOOH−O∥C−C6H5Benzoin
(ii) Knoevenagal reaction:
Benzaldehyde condenses with malonic acid in presence of pyridine forming cinnamic acid, pyridine is the basic catalyst here. This mechanism is quite similar to the previous reaction, involving carbanion, from the malonic acid.
C6H5CH=O+H2C(COOH)2Pyridine−−−−−→C6H5CHMalonicacid=C(COOH)2CO2−−→ΔC6H5CH=CHCOOHCinnamicacid