Heteroatomic molecules
When atoms of different types combine to form molecules, it is a heteroatomic molecule. For example, when Carbon (C) and Oxygen (O) atoms combine under an appropriate reaction condition, it can lead to the formation of two types of products (carbon monoxide, CO, and carbon dioxide, CO2) containing two types of atoms.
A heteroatomic molecule can be diatomic (like hydrogen chloride, HCl), triatomic (like water, H2O), or polyatomic (like methane, CH4).