Sodium chloride is an ionic compound having sodium and chloride ions in its structure. Ionic compounds do not conduct electricity in solid state but they conduct electricity in aqueous solution and in molten state.Hence this property is shown by sodium chloride.