The diaphragm is the major muscle responsible for breathing. It is a thin, dome-shaped muscle that separates the abdominal cavity from the thoracic cavity. During inhalation, the diaphragm contracts, so that its centre moves caudally (downward) and its edges move rostrally (upward).