Which of the following statements best describes a covalent bond?