A petiole attaches the leaf to the stem and contains vascular tissue that provides a connection from the stem to permit sap to enter the leaf and the products of photosynthesis (carbohydrates) to be transported from the leaf to the rest of the plant.