Topic summary
Pleural cavities

Extracted from the Wikipedia article Pleural cavity.
Development
The cranial end of the intraembryonic coeloms fuse early to form a single cavity, which rotates invertedly and apparently descends in front of the thorax, and is later encroached by the growing primordial heart as the pericardial cavity. The caudal portions of the coeloms fuse later below the umbilical vein to become the larger peritoneal cavity, separated from the pericardial cavity by the transverse septum. The two cavities communicate via a slim pair of remnant coeloms adjacent to the upper foregut called the pericardioperitoneal canal. During the fifth week, the developing lung buds begin to invaginate into these canals, creating a pair of enlarging cavities that encroach into the surrounding somites and further displace the transverse septum caudally — namely the pleural cavities. The mesothelia pushed out by the developing lungs arise from the splanchnopleure, and become the visceral pleurae; while the other mesothelial surfaces of the pleural cavities arise from the somatopleure, and become the parietal pleurae.