Ancient lungfish fossils show how early fish evolved features that eventually allowed animals to leave the water and adapt to life on land.