In alcohols the hydrogen bond is formed due to the covalent bonds between one oxygen atom and one hydrogen atom in the hydroxyl group (O—H).