The degree one substance dissolves in another is determined by its electrostatic attraction for the solvent and also the entropy change that accompanies the solvation. Some substances are soluble in alcohol which are not soluble in water.
Solvents are normally characterized as polar or nonpolar. Polar solvents will dissolve ionic compounds and covalent compounds which ionize, while nonpolar solvents will dissolve nonpolar covalent compounds. For example, ordinary table salt, an ionic compund, will dissolve in water, but not in ethanol.
Common solvents used in organic chemistry include acetone, ethanol, water, and benzene.
A liquid can be immiscible (= not soluble) with another ( e.g. water is immiscible with oil).