Xylem is primarily used to transport water from roots to stems and leaves, but also bears other dissolved compounds. Phloem is responsible for moving food from leaves to non-photosynthesizing parts of a plant including roots and stems from the photosynthesis.