when an ionic or covalent compound is dissolved in water they break apart into ions through process called dissociation ..the ions get attracted by the water molecules and hence they carry polar charges ..and if there is a conduction of electricity. .then we get to know that a compound is dissociated ..
HOPE IT IS HELPFUL