Ethanol has higher boiling point than ethane due to intermolecular hydrogen bonding. Intermolecular hydrogen bonding is possible in ethanol but not possible in ethane. Intermolecular hydrogen bonding leads to molecular association and increases boiling point as energy is required to break these hydrogen bonds. Hydrogen bonding is possible when H atom is attached to electronegative N, O or F atom.