It is the source of both the secondary xylem ( inwards , towards the pith ) and the secondary phloem ( outwards ) , and is between these tissues in the stem and root . The vascular cambium is the source of both the secondary xylem ( inwards , towards the pith ) and the secondary phloem ( outwards ) , and is located between these tissues in the stem and root .