Idk wtf this thing is (trigger warning dead animal)

Saw this on our walk home from Playa Conchal to Brasilito in Costa Rica tonight. Looked like a kidney with a tail and half a jaw. wtf is this thing?