In order to keep from shriveling like your fingers in the bathtub, fish must constantly exchange ions, such as sodium and potassium, with the water. Larval fish can exchange ions through their skin, and early fish likely used rudimentary gill structures known as branchial baskets. But when the salinity of the water changes rapidly--as happened when fish invaded freshwater habitats--fish would have needed a much more efficient way of exchanging ions with their environment. That means large, complex gills.
Link via reddit | Photo: US Department of the Interior
There's the mutation---which has no *reason*, but which is the development in an individual or select set. and they were not developed *for a purpose*.
And then there's the selection---those mutants with superior traits for their circumstances survive and propagate that trait to their descendants.
So, gills weren't developed for ion exchange. Gills were *kept* in fish, because they facilitated ion exchange.
And suddenly, I'm even more impressed by Cristophe. He managed to be funny *and* avoid being a sycophant.
Isn't breathing part of that?