In the acetalisation reaction, under acidic or basic conditions, an alcohol adds to the carbonyl group and a proton is transferred to form a hemiacetal. Under acidic conditions, the hemiacetal and the alcohol can further react to form an acetal and water. Simple hemiacetals are usually unstable, although cyclic ones such as glucose can be stable. Acetals are stable, but revert to the aldehyde in the presence of acid. Aldehydes can react with water to form hydrates, R−CH(OH)2. These diols are stable when strong electron withdrawing groups are present, as in chloral hydrate. The mechanism of formation is identical to hemiacetal formation.