Let me provide you with a little evolutionary thought experiment. Stephen J. Gould once noted that “evolution is a bush, not a ladder.” Quite true. Consider the following representation:

Notice that the evolution of mammals does not entail a straight shot from some ancestral chordate to mammal. On the contrary, the evolution of mammals also involves the evolution of sharks, bony fish, frogs, snakes, and birds along the way. What’s more, the bush shows a nesting pattern, where the tetrapods, for example, nest together to the exclusion of all other chordates. This is because the tetrapods derive from an ancestral tetrapod state that was not shared by the other chordates. In fact, the following arrangement makes this more clear.

