The three body cavities - thoracic, pericardial and peritoneal - develop from an intraembryonic coelome. Primitive membranes including the pleuropericardial and pleuroperitoneal folds divide and partition the coelome. The diaphragm develops from the septum transversum, pleuroperitoneal membranes, dorsal mesentery of the esophagus and muscular ingrowth from the body wall, which eventually fuse to form a partition between the thoracic and abdominal cavities. During development, the position of the diaphragm descends and it receives its nerve supply from the phrenic nerve originating from cervical spinal nerves. Congenital anomalies can occur if there are