Metals have free electrons. These electrons, created to gain the electromagnetic positivity and octal structure of the metal, flow from the negative side of the electric source to the positive edge under the influence of the electric field. So metals transport electrons. On the other hand, the electrons in the ionic crystal are bound to the crystal. Therefore, due to the effect of external voltage, the flow of electrons does not occur in it. Therefore crystals of ionic compounds do not conduct electricity.