Great question! Let me first talk about how sedimentary rocks are formed. Sedimentary rocks are formed when when existing rocks are broken down in sediment. Now, let me explain what they are. Sedimentary rocks are rocks that have been weathered into rock fragments or pieces.
Carbon dioxide is the compound in photosynthesis, I'm pretty sure
I don't none of them are
I hope this helps!