It is a Cnidoscolus phyllacanthus, also knowed by "Favela" or "Faveleira" in portuguese. It's a very common plant in Northeast of Brazil, famous by thorns in leaves and branches. When their leaves drop and dry, some animals like sheep, goat, cattle, equine and others used to eat them.