The interiors of nonflowering trees such as pine and ginkgo contain sapwood lined with straw-like conduits known as xylem, which draw water up through a tree's trunk and branches. Xylem conduits are interconnected via thin membranes that act as natural sieves, filtering out bubbles from water and sap.
source https://techxplore.com/news/2021-03-filters-tree-purify.html