What is the function of tree trunks?

The trunk is the support and supply conduit for the tree allowing the roots to supply the foliage with nutrients as required.