Compare polyatomic element to compounds??

A polyatomic element is an element composed of two or more atoms that are chemically bonded together. Examples of polyatomic elements include carbon dioxide (CO2), water (H2O), and ammonia (NH3).

Compounds are substances composed of two or more different elements that are chemically bonded together. Examples of compounds include table salt (NaCl), sugar (C12H22O11), and baking soda (NaHCO3).