Glucose or sucrose contain several hydroxyl groups in their molecules which form hydrogen bonding with water molecules due to which they dissolve in water. On the other hand compounds like benzene or cyclohexane can not form hydrogen bonds with water molecules, so they are insoluble in water.