In the presence of dilute base or dilute acid, two molecules of an aldehyde or ketone, condense to form $ \beta $ -hydroxy aldehyde or $ \beta $ -hydroxy ketone respectively. This reaction is called Aldol condensation. $ \underset{\text{Acetaldehyde}\,\,\text{(2}\,\text{molecules)}}{\mathop{C{{H}_{3}}--\overset{H}{\mathop{\overset{|}{\mathop{C}}\,}}\,==O+H.C{{H}_{2}}--\overset{O}{\mathop{\overset{||}{\mathop{C}}\,}}\,--H\xrightarrow{dil.\,NaOH}}}\, $ $ \underset{\text{Aldol}}{\mathop{C{{H}_{3}}--\underset{OH}{\overset{H}{\mathop{\underset{|}{\overset{|}{\mathop{C}}}\,}}}\,--C{{H}_{2}}}}\,--CHO $