Part of an Echinopsis cactus stem showing its ribs and areoles. The areoles are the hairy protrusions from which the spines arise. The spines themselves are highly modified leaves. Their function has shifted from food production to protecting the succulent stem from water-seeking animals. The cactus does all its photosynthesis in the green tissue of the stem.