Question: how are atoms covalent bonds and molecules related?
Answer: Atoms can share pairs of valence electrons to obtain a valence shell octet. This sharing of electrons is a covalent bond. A species formed from covalently bonded atoms is a molecule and is represented by a molecular formula, which gives the number of atoms of each type in the molecule.