The diaphragm, a dome-shaped muscle at the bottom of the lungs, controls breathing and separates the chest cavity from the abdominal cavity, When a breath it taken, it flattens out and pulls forward, making more space for the lungs. During exhalation, the diaphragm expands and forces air out.