m4gpi 10 points 14h ago
The green parts of plants, especially the leaves, contain microscopic structures called chloroplasts that uses some pretty complicated (and impressive) chemical reactions that convert carbon dioxide and water into sugar (glucose) and oxygen in the presence of sunlight. The carbon dioxide comes from the air, and the water comes from (usually) the soil (sometimes from ambient humidity but this is a very small amount). The sugar gets transported down to the roots, which perform other chemical reactions to convert that sugar into other chemical structures that the plant can use for all the other functions, and build new components from. The roots also absorb other nutrients and elements, like nitrogen, phosphorous, etc. from the soil.
When a plant is just a seed, it has everything spring-loaded inside to start a baby plant, all it needs is water to unlock these first transformations to put out its first baby roots and baby stem, and as soon as the seedling grows up above the soil line, the sunlight “turns on” the chloroplasts, which then turn on the rest of the factory.
You do technically lose mass from soil, but it’s at a very slow rate, almost too slow to observe in a pot, and in nature, soil is constantly being replenished and added to from other organisms. In truth, soil is mostly a physical structure that holds the plant in place; it’s the nutrient-rich water that percolates between soil particles that feeds the plant.