Certain trees, such as dogwood, are commonly inhabited by fungus that consumes leaves from the tree. Which of the following best describes the relationships between the tree and the fungi?