In contrast, ionic compounds are composed of positively and negatively charged ions that are strongly attracted to each other. To dissolve an ionic compound, the solvent molecules must be able to overcome these strong ionic attractions and surround the ions to form a stable solvation sphere. Non-polar solvents like petrol do not have the ability to do this because they do not interact well with charged particles.
As a result, ionic compounds are typically only soluble in polar solvents, such as water, which have a high dielectric constant and can effectively solvate the ions.