Here's a breakdown:
* Covalent bonds are formed when two atoms share electrons. In hydrogen peroxide, each oxygen atom shares one electron with each of the two hydrogen atoms, and the two oxygen atoms share one electron with each other.
* The structure of hydrogen peroxide is non-linear, with the two oxygen atoms at the center and the two hydrogen atoms attached to them.
* The molecule has a bent shape due to the lone pairs of electrons on the oxygen atoms, which repel each other.
So, the sharing of electrons through covalent bonds is what holds the atoms together in a hydrogen peroxide molecule.