\(HNO_3\) is a strong acid that completely dissociates into \( H^+\) and \(NO_3^-\) ions in water, resulting in a high concentration of ions, which allows it to conduct electricity more effectively.
On the other hand, \(KNO_3\) is a salt that dissociates into \( K^+\) and \(NO_3^-\) ions in the water. KNO3 is a weak electrolyte that partially dissociates, meaning that not all of the KNO3 molecules break apart into ions . As a result, it has a lower concentration of ions is not as good conductor of electricity compared to \(HNO_3\).