The ribs are thin, flat, curved bones in your upper body that form a protective “cage” around the heart and lungs. The ribs are comprised of 24 bones arranged in 12 pairs that form a kind of cage that encloses the upper body and gives the chest its familiar shape. The ribs serve several important functions.
They protect the heart and lungs from injuries and shocks that might damage them. Ribs also protect parts of the stomach, spleen, and kidneys. The ribs help you to breathe. As you inhale, the muscles in between the ribs lift the rib cage up, allowing the lungs to expand. When you exhale, the rib cage moves down again, squeezing the air out of your lungs.