Tendrils in pea are modified
leaves
Leaves are often modified to perform functions other than photosynthesis. In peas, they are converted into tendrils for climbing. In other plants such as the yellow vetch (Lathyrus aphaca), the whole leaf is modified to become tendrils while the stipules become enlarged and carry out photosynthesis.