The Tetrapodophis amplectus, or "four-legged hugging snake," may have used its limbs to grip prey or hold onto mating partners.