Used in various contexts, including botany and metaphorically.
Cuidado con la puya de esa planta, puede causar un dolor intenso si te pinchas.
Be careful with the thorn of that plant; it can cause intense pain if you get pricked.
Ten cuidado con la puya de esa planta, puede ser muy dolorosa.
Be careful with the thorn from that plant; it can be very painful.