Carbon enters all food webs, both terrestrial and aquatic, through autotrophs, or self-feeders. Almost all of these autotrophs are photosynthesizers, such as plants or algae. Autotrophs capture carbon dioxide from the air or bicarbonate ions from the water and use them to make organic compounds such as glucose.
The condensation of water vapor formed the early oceans. It is an important part of the water cycle. It is easy to eliminate the other answers in this question. It can't be meteorites, living organisms, or nitrogen.