Xylem carries water and minerals from the roots to the leaves. Whereas, phloem carries the food prepared by the leaves to different parts of the plant.
The dependent variable would be anything that is not consistent. So outside factors such as how much sun and the environment that the plant is contained in.