text: There was a lobe finned fish that evolved into all the terestrial vertebrates (amphibians, reptiles, mammals and birds).  Its bone structure included four lobe fins that became the four limbs (thus the name tetrapods) and each had five rays, the bone structure that has become digits.  The five fingers / five toes is a result of the creature that moved onto land.