How do positive and negative ions form?
They form through Ionic bonding.
Elements gain or lose electrons to form ions and to gain full outer shells.
For example, let's look at Lithium and Fluorine:
Fluorine would gain this electron to have
The Lithium atom would turn into an
The Fluorine atom would change to a
This would form lithium fluoride as a result of this ionic bonding.