This is known as Aldol reaction The name aldol is derived from the names of the two
functional groups, aldehyde and alcohol, present in the products The aldol and ketol readily lose water to give a,b-unsaturated
carbonyl compounds which are aldol condensation products
and the reaction is called Aldol condensation Though ketones
give ketols (compounds containing a keto and alcohol groups),
the general name aldol condensation still applies to the reactions
of ketones due to their similarity with aldehydes