EVOLUTIONARY DEVELOPMENT AND ANATOMY OF THE LUNGS
Early fishes probably swallowed air at the surface of the water which was used to fill a blind pouch on the ventral surface of their oesophagus. This served as a swim bladder enabling fish to float without the need to swim to maintain their position. Later this pouch evolved to become the lungs which enabled primitive amphibians to survive out of water.