The document describes the anatomy and function of the diaphragm. It is divided into three parts: the sternal, costal, and lumbar parts. The sternal part arises from the xiphoid process, the costal part from the lower six ribs, and the lumbar part from the lumbar vertebrae. The diaphragm is innervated by the phrenic nerves and contracts during inspiration to flatten its shape and increase the vertical diameter of the thorax. Relaxation of the diaphragm allows expiration to occur as the thorax decreases in size. The diaphragm plays an important role in respiration and separates the thoracic and abdominal cavities.