Why the boiling point of ethyl alcohol is much higher than that of dimethyl ether though both have the same molecular weight?

Why the boiling point of ethyl alcohol is much higher than that of dimethyl ether though both have the same molecular weight? Correct Answer Ethyl alcohol shows hydrogen bonding

Alcohols have much higher boiling points than the comparable alkanes or the related ethers because molecules of alcohols can interact through hydrogen bonding while those of alkanes and ethers cannot. Thus, Ethanol has a higher boiling point (78℃) than dimethyl ether (−25℃) though they have the same molecular weight.

Related Questions

The boiling point of ethyl alcohol is much higher than that of dimethyl ether though both have the same molecular weight. Why?
How far is point 'R' from Point 'T'? Statement (I): Point 'R' is 5 metres to the north of point 'M'. Point 'U' is 4 metres to the east of point 'R'. Point 'T' is to the west of point 'R' such that points 'U' 'R' and 'T' form a straight line of  metres. Statement (II): Point 'Z' is metres to the south of point 'T'. Point 'U' is  metres to the east of point 'T'. Point 'M' is  metres to the east of point 'Z'. Point 'R' is  metres to the north of point 'M'. Point 'R' lies on the line formed by joining points 'T' and 'U'.