The correct option is D III>I>II
Alcohols, aldehydes and acids form hydrogen bonds which increases their boiling points.
In acids, the oxygen atoms will form strong hydrogen bonds since the charge density on hydrogen will be more.
In alcohols, the oxygen atoms will form attractive H - bonds with hydrogen atoms of other molecules since oxygen is more electronegative in nature and will create a charge density in the molecule leading to H bonding.
In aldehydes, hydrogen atom is not directly bonded with oxygen atom but with carbon atom. So, it does not show hydrogen bonding.