Spines are modified leaves that defend a plant against herbivores.