Complex sentence: This plant is used for many other purposes: it is planted to create living fences around pastures; young shoots are fed to goats; the fruit ("iguaraya") is similar to pitahaya and is a popular food among the Wayuu.
Split into simpler sentences: This plant is used for many other purposes: it can be planted to produce living fences around pastureland, and the young shoots are fed to goats. The fruit ("iguaraya") is edible and pitahaya-like and are a popular food among the Wayuu.