Rib
Ribs are classed as flat bones which usually have a protective role in the body. Humans have 24 ribs, in 12 pairs. All are attached at the back to the thoracic vertebrae, and are numbered from 1–12 according to the vertebrae they attach to. The first rib is attached to thoracic vertebra 1 (T1). At the front of the body most of the ribs are joined by costal cartilages to the sternum. The ribs connect to the vertebrae with two joints, the costovertebral joints.
Bucket handle movement
One of the most important functions of ribs and diaphragm is the change in volume of thorax that helps inspiration and expiration. In general, the ribs move around two axes. As the anterior end of ribs is about 4 cm lower than the posterior end, the middle part of rib is lower than anterior and posterior ends. Movement at costovertebral joints 7 to 10 about an anteroposterior axis results in raising and lowering the middle of the rib, the Bucket-handle movement. In elevation, this increases the transverse diameter of the thorax.