Yes, in herbaceous plants and some young shoot ends of woody plants, the stems are green in colour due to the presence of chlorophyll pigment; contribute in the process of photosynthesis. In cacti, the leaves are converted to spines which take part in photosynthesis.