In the anatomy of mammals, the diaphragm is a shelf of muscle extending across the bottom of the ribcage. The diaphragm separates the thoracic cavity (with lung and heart) from the abdominal cavity ...