what happens to ribs and diaphragm during exhalation and inhalation
During inhalation the lungs inflate. Therefore to creates space the ribs moves upward and outward whereas the diaphragm moves downwards.
During exhalation the lungs deflate. Therefore the ribs moves to their original position by moving downward and inward whereas the diaphragm moves upwards.