Step 1: Understanding carbon source for plants.
Carbon is a major element required for the synthesis of carbohydrates and other organic molecules in plants.
Step 2: Primary source of carbon.
Terrestrial plants obtain carbon mainly from atmospheric carbon dioxide, which is fixed during the process of photosynthesis.
Step 3: Analysis of options.
(A) Incorrect — rocks are not a direct carbon source for plants.
(B) Incorrect — soil supplements do not provide carbon directly.
(C) Incorrect — soil CO\textsubscript{2} is negligible compared to atmospheric CO\textsubscript{2}.
(D) Correct — atmospheric CO\textsubscript{2} is fixed during photosynthesis.
Step 4: Conclusion.
On land, plants get carbon by fixation of atmospheric CO\textsubscript{2 during photosynthesis}.