Answer:
Plants get all the carbon, hydrogen, and oxygen they need from carbon dioxide and water, which they use to build carbohydrates during photosynthesis. To build other kinds of molecules they also need elements like nitrogen, phosphorous, and sulfur. Plants get these as well as other elements from the soil.
Step-by-step explanation: