Yeah, I think another common misconception about trees is that they get that mass from the dirt/soil. Fascinating how they don't.
To me, an even more fascinating thing about trees is that, no matter the thin diameter of their xylem and what you'd think of the power of capillary action, those tubes are too tall to maintain a continuous water column in trees of even moderate height. The water in those tubes actually experiences negative pressure. How? Transpiration is part of it, but the real magic has to do with the micro-sized pores on the leaves through which water vapor can escape. Those are small enough that water surface tension can hold a constant barrier. If they were so large that surface tension couldn't maintain the barrier, the negatively pressurized water column would boil right out of those trees.
Sometimes that actually happens. Maybe you've gone on a hike during an extreme drought and noticed that an empty forest is making strange, loud, cracking, echoing noises. That can be due to cavitation in these tubes. And, if you were able to find the corresponding trees, mark them, and return in a matter of time, you'd notice that either the entire tree died, or at least a segment of its trunk (and relevant branches) did.