The diaphragm is a dome-shaped structure of muscle and fibrous tissue that separates the thoracic cavity from the abdomen.