What happens to atoms during formation of covalent bonds?

The atoms retain all of their physical properties (i.e. mass, density, etc.) except when a covalent bond occurs, electrons are involved. The two atoms that form a covalent bond (usually C, N, O, F, S) will each share the electrons that are currently available in their valence shell (the outer shell, usually P orbital).