During inhalation, the diaphragm is contracted which increases the volume of the lung cavity. During exhalation, the diaphragm is relaxed which decreases the volume of the lung cavity.
The diaphragm contracts during inhalation, increasing the capacity of the lung cavity. The diaphragm relaxes during exhalation, reducing the capacity of the lung cavity.