A solution of ionic compound conducts electricity due to the presence of:
Ions
A solution of ionic compounds in water contains ions, which moves to the opposite electrodes when electricity is passed through the solution. Therefore, ionic compound conducts electricity.