These types of ions are molecules in which they are bonded with different atoms are known as Polyatomic ions or molecules. Example -HCO−3, H3O+, OH−, etc. These types of ions are molecules in which atoms are bonded with the same atom are known as diatomic ions. Example - N2, H2, O2 ,Br2, Cl2 ,etc.
(NOT SURE IF THIS IS ACCURATE)
Hope this helps!