Here's why:
* Hydrogen (H) has one valence electron.
* Fluorine (F) has seven valence electrons and wants to gain one more to complete its octet.
Therefore, one hydrogen atom can share its electron with one fluorine atom, forming a single covalent bond. This results in the molecule HF.