What could two atoms of the same element form?

A. Covalent bonds, but not ionic bonds.

B. Ionic bonds, but not covalent bonds.

C. Both covalent bonds and polar bonds.

D. Either covalent bonds or ionic bonds.