when we inhale our diaphragm and intercostal muscles contract to increase our chest cavity allowing air to rush into our lungs and when we exhale the diaphragm and the intercostal muscles relax to squeeze out air from our lungs, we can also say that there is an exchange of gaseous materials between the lungs and the environment during the process of breathing that involves inhalation and exhalation.