In the molecule, the electrons are
shared in the space between te atoms
resulting in a covalent bond.
There is an internuclear distance where the energy is a minimum.
The covalent bond occurs here.
I recently read these statements in a textbook. I do not understand the bolded one. Could someone elaborate? When does energy become invvolved and how?