Here's why:
* Hydrogen (H) has a +1 charge.
* Nitrate (NO₃) has a -1 charge.
The charges balance out, resulting in the formula HNO₃.