The covalent compound ionizes in water due to its
Hydrogen chloride gas is a polar covalent compound but when it dissolved in water, it ionizes to form hydrogen ions and chloride ions.
HCl(aq)→H+(aq)+Cl−(aq)
The resulting aqueous solution of HCl conducts electricity due to the presence of free and mobile ions in it.