they can form an ionic compound called lithium fluoride (LiF).
In an ionic bond, lithium, which has one valence electron, donates its electron to fluorine, which requires one electron to complete its valence shell. This transfer of electrons creates positively charged lithium ion (Li+) and negatively charged fluoride ion (F-). The opposite charges attract each other, leading to the formation of the ionic compound LiF.