The spines are used for climbing, and can puncture the leaves of plants being used as supports.
Animals with spines use them for climbing, and these spines can damage the leaves of plants used as a support system.