A rib’s posterior attachment is superior to its anterior attachment. Therefore, when a rib is elevated, it moves the anterior thoracic wall forward relative to the posterior wall, which is fixed. In addition, the middle part of each rib is inferior to its two ends, so that when this region of the rib is elevated, it expands the thoracic wall laterally. Finally, because the diaphragm is muscular, it changes the volume of the thorax in the vertical direction.