Which of the following is a compound?

a) CO2

b) Ne

c) O2

d) P4

a) CO2