In chemistry, hydrophobicity is the chemical property of a molecule that is seemingly repelled from a mass of water. In contrast, hydrophiles are attracted to water.