Atoms gain, lose, or share electrons to gain a full outer, valence shell. Since most atoms have an outer shell that isn't completely full, they will bond with other atoms or ions to gain a full valence shell.
(Side note: This is why noble gases do not bond; they already have a complete valence shell.)
It will be transported into the cell through the process of endocytosis, which is a form of active transport. Active transport requires energy in the form of ATP. Hope this helps! :)