How are valence electrons involved in the formation of a covalent bond?

2 answers

They are shared with another atom (or atoms).
but i thought they share electrons not atom...i am confused