How do two atoms bond chemically?
Both atoms have two electrons and a filled outer shell. These shared electrons form a bond between the two atoms. This chemical bond is a covalent bond, a pair of electrons shared between the two atoms. When this bond forms, energy is released.