In covalent bonding electrons are shared betweed adjacent atoms.
This kind of bonding means that none of the atoms are detached from its electrons.
A molecule of compound is formed when two or more atoms are bonded through covalent bonds. The electrons shared are considered part of the valence electrons (outer energy level) of both atoms forming the covalent bonding.