Why is salt soluble in water but not in oil?

     The solubility of a substance depends on the nature of bonding in both the solute and the solvent. Salt is an ionic substance; that is, its atoms are held together by opposite electrical charges. Water molecule also has electrical charges – the hydrogen atoms are positively charged and the oxygen atom negatively charged. When salt is put in water the charges on the water molecule pull the oppositely charged atoms in salt apart, thus dissolving it. Oil molecules, on the other hand, do not carry any charge and so does not have any effect on the ionic bonds in salt when put in it. As a result, salt does not dissolve in oil.