Air enters the lungs
The lungs become enlarged, increasing their volume
The ribcage capacity is reduced, so it shrinks
The diaphragm flattens and lowers
The capacity of the ribcage is increases
The lungs reduce their volume.
The ribs rise outwards
The ribs sink
It releases air from the lungs
The diaphragm relaxes, curves and rises.