They achieve the electron configuration of a noble gas.
Covalent bonds
Electron configuration for an atom is the distribution of electrons on atomic orbitals.
electron configuration :)
The electron configuration of oxygen is [He]2s22p4.
Either by losing or gaining electrons (and forming ionic compounds) or by sharing of electrons (and forming covalent compounds).
The arrangement of the electrons in an atom is known as its electron configuration.
In covalent chemical bonds sometimes the electrons are loosely called "covalent electrons" as they are localised.
Hydrogen and helium have different valence electron configurations. Hydrogen has one valence electron, and helium has two valence electrons. However, hydrogen does typically form covalent bonds in which it shares an electron, and thereby gains an effective electron configuration of two, like helium. Hydrogen also can form the H+ ion which has no electrons.
The electron configuration of sulfur is [Ne) 3s2.3p4.
They achieve noble gas configuration by the sharing of electrons.
The electrons configuration for O2- is [He]2s22p6.
Bromine exists in a gaseous state as a pair of atoms that share electrons. This shared electron configuration makes this a covalent bond.