Diatomic molecules are molecules composed only of two atoms, of either the same or different chemical elements.
Diatomic molecules are molecules that have only two atoms that have different chemical element.