Covalent bonds form between two atoms whenever a pair of electrons is shared by atoms. This bond happens whenever atoms needed to be more stable.
For more information on covalent bonds and how they form, you may click this link: https://brainly.ph/question/436802