A molecule of chlorine has atoms of the same element, and a molecule of carbon dioxide has different kinds of atoms.
Based on this information, chlorine is
and carbon dioxide is