HCl is an ionic compound that dissociates itself upon its addition to the solvent to form a solution. When it is in the solution it forms ions.
HCl + H2O ---> H3O+ + Cl-
HCl forms hydronium ions (H3O+) and Chloride ions (Cl-)
some books simply show the dissociation as
HCl --> H+ + Cl-
**they omit the water in the equation.
The compound HCl has several names:
Hydrochloric acid gas
But its IUPAC official name is