Some electron arrangements are more stable than others, which is why atoms often gain, lose, or share electrons with other atoms. This transfer or sharing of electrons forms chemical bonds that unite atoms in compounds.
The greatest concentration of atomic mass is the atom's nucleus. This is because the nucleus is made up out of protons and neutrons while the electrons surrounding the nucleus have a very small mass.