A heteroatomic molecule is a molecule that contains two or more different elements. CO2 is a heteroatomic triatomic molecule because it contains carbon, oxygen, and oxygen atoms. O3 is a heteroatomic triatomic molecule because it contains oxygen, oxygen, and oxygen atoms. HCN is not a heteroatomic triatomic molecule because it only contains hydrogen, carbon, and nitrogen atoms.