Evolution and life stagesRespiratory system

How Did Lungs Evolve? From Ancient Fish to Human Lungs

For general education about how the body works, not medical advice. Medical disclaimer.

Numbered diagram of the lungs, showing the trachea, bronchi, bronchioles and alveoli
Numbered diagram of the lungs, showing the trachea, bronchi, bronchioles and alveoli. Image: Rastrojo with the biological support of Retama (CC BY-SA 4.0), via Wikimedia Commons

Human lungs evolved from gas-filled sacs in ancient bony fish, which had a lung-like organ that opened off the gut. Over hundreds of millions of years, this organ changed as animals moved onto land, and it became the efficient air-breathing organ of mammals. The story is told through fossils, living animals and comparative anatomy.

Contents

What lungs share with other animal structures

A lung is an organ that takes oxygen from air and passes carbon dioxide out. The gas exchange surface must be thin, moist and large, so that gases can move across it quickly. The same requirement applies to gills, which exchange gas with water, and to the skin of some animals.

In humans, the exchange surface lies in the alveoli, the tiny air sacs at the end of the respiratory system branches. Each lung contains hundreds of millions of these sacs, which give a large surface area inside a small chest. This design took a long time to develop.

Evolutionary biologists compare the lungs of living animals with the fossil record to reconstruct how the organ changed. Structures that share a common origin are called homologous. The swim bladder of bony fish and the lungs of air-breathing vertebrates are homologous, because both develop from the same outgrowth of the gut.

Lungs in early bony fish and the swim bladder

The earliest lung-like structures appeared in bony fish, the group that includes most living fish and all land vertebrates. Their ancestors had gills for breathing in water and, in some lineages, a sac that filled with gas from the gut. Gas could be taken in from air at the surface, which may have helped in water with little oxygen.

This sac diverged along two paths. In one group, the sac became the swim bladder, a gas-filled organ that helps most modern fish control their buoyancy. In most fish, the swim bladder is not used for breathing and does not exchange gas with the blood as a lung does.

In the other group, the sac became a true lung, with a rich blood supply for exchanging gas. The lineage that led to the tetrapods, which are the four-limbed vertebrates, kept this path. The gas-filled sac was an essential step, because it gave these fish a way to breathe air when the water was poor in oxygen.

Lungfish and the first air-breathing animals

Living lungfish have lungs as well as gills, and they can breathe air at the surface. The African lungfish, for example, can survive drought by sealing itself in a cocoon of mucus in mud, breathing air through its lung while it waits for water to return. This living example shows how a sac-like organ can support life outside the water.

Lungfish are the closest living relatives of the tetrapods, so their anatomy is studied to understand the transition. Their lungs are paired and have a rich blood supply, but they are not yet the complex, highly branched lungs of land animals.

During the Devonian period, about 375 million years ago, the tetrapods moved onto land. Their lungs were used for air breathing, and their gills became less important. Amphibians today still use their skin and lungs together. Many frogs pump air into their lungs by moving the floor of the mouth, a method called buccal pumping, which shows an older pattern of breathing still in use.

Mammals, the diaphragm and alveoli

Reptiles breathe mainly by moving their ribs, which expand and contract the chest. This method is called costal breathing. Their lungs have more internal folds than amphibian lungs, which gave a larger gas exchange surface, but chest movement remains the main way of ventilating them.

Mammals developed a muscular sheet called the diaphragm, which separates the chest from the abdomen. When the diaphragm contracts, it flattens and draws air into the lungs. The mammalian lung also contains a very fine network of alveoli, which allows far more gas exchange in a given volume than the simpler lungs of most reptiles and amphibians.

The diaphragm is a clear feature of mammals and does not occur in birds. Its origin in evolution is still discussed, which is one of the open questions described below. The mammalian design, with the diaphragm and alveoli, supports the high oxygen demands of warm-blooded animals.

Birds, one-way airflow and other animals

Birds breathe with a different design. Their lungs are small and fixed in the body, but air flows through them in one direction, and air sacs throughout the body store and move air. This one-way flow keeps oxygen-rich air moving over the gas exchange surface during both breathing in and breathing out.

This system is very different from the tidal flow of mammal lungs, in which air goes in and out of the same passages. Fossil evidence suggests that some dinosaurs had air sacs, which supports the view that the bird system evolved from earlier theropod dinosaurs.

Comparison also reveals how anatomy keeps evolutionary traces. The vagus nerve of mammals travels from the brain down the neck and loops around a major artery near the heart before reaching the larynx. In fish, this route ran past the gill arches, and the detour persists in mammals, including in the long-necked giraffe. The lung and its nerves thus show signs of their ancestry as well as their present function.

What scientists still debate

Scientists still debate whether lungs evolved only once or whether swim bladders and lungs evolved in parallel in different groups. The homology evidence favors a single origin for the gas-filled sac in bony fish, but the details of early gas exchange remain uncertain.

The origin of the diaphragm is another open question. Some researchers link it to muscles of the body wall, while others point to the muscles that move the neck and shoulders. The fossil record does not preserve these muscles directly, so the answer depends on comparisons with living animals and on development.

The evolution of alveoli is also debated. The fine air sacs of mammals may have developed in more than one way, and the exact timing in the reptile line is not settled. These questions are open, and new fossils or studies may change the picture.

Frequently asked questions

Did human lungs evolve from fish lungs?

Human lungs descend from the lung-like organs of ancient bony fish, which were gas-filled sacs off the gut. The lineage that led to humans kept and changed this organ as animals moved onto land.

Is the swim bladder related to the lungs?

Yes. Both develop as outgrowths of the gut, and the swim bladder of most modern bony fish is derived from the same ancestral structure as the lungs of air-breathing vertebrates.

When did animals first breathe air with lungs?

Lungs or lung-like sacs appeared in ancient bony fish more than 400 million years ago. Early tetrapods that moved onto land during the Devonian period relied on them for air breathing.

Why do mammals have a diaphragm but birds do not?

The diaphragm is a feature of mammals. Birds move air with their chest and abdominal muscles and with air sacs, a different design that evolved along its own path.

What is the lungfish?

Lungfish are living bony fish that can breathe air with a lung-like organ. There are six species, in Africa, South America and Australia, and they are the closest living relatives of the tetrapods.

Sources and further reading

  • Kardong, Kenneth V., "Vertebrates: Comparative Anatomy, Function, Evolution"
  • OpenStax, "Anatomy and Physiology 2e"
  • Gray's Anatomy (Susan Standring, ed.)

Cite this page

“How Did Lungs Evolve? From Ancient Fish to Human Lungs.” Body Atlas, https://body.bigworldlist.com/evolution/how-did-lungs-evolve/.

Respiratory system: more questions and guides