Answer and Explanation:
Elements : [tex]N_2,S_8[/tex] these are not compounds because for making compound there should be at least combination of two different elements but [tex]N_2,S_8[/tex] are made up of same type of elements so these are elements
Compounds: [tex]NH_3,CO,NO,CO_2,SO_2[/tex] these all are compound because they are made up of different types of elements after combining together