Alcohols may be represented by the general formula:
One of the H atoms of alkanes (having the molecular formula CnH2n+2) is replaced by an –OH group to form alcohols.
Thus CnH2n+2 – (1 H) + (1 –OH) → CnH2n+1—OH