How can an element attain stability?
Gaining electrons
Losing electrons
Sharing electrons
All elements try to achieve a stable octet configuration by following three ways:
1. Sharing of electrons
2. Losing electrons
3. Gaining electrons
On the other hand, elements cannot create electrons.