Diaphragm is a dome-shaped horizontal sheet of muscle; attached to the lower ribs. The diaphragm separates the thoracic cavity from the abdominal cavity.