Acetaldehyde is produced both endogenously and exogenously. It is a byproduct of the metabolism of ethanol in the liver, catalyzed by the enzyme alcohol dehydrogenase. Industrially, it can be synthesized via the oxidation of ethanol or the hydration of acetylene.