In organic chemistry, a hemiacetal or a hemiketal has the general formula , where  is hydrogen or an organic substituent. They generally result from the addition of an alcohol (a compound with at least one  group) to an aldehyde () or a ketone (), although the latter are sometimes called hemiketals. Most sugars are hemiacetals.