Rib anatomy involves the study of the 12 pairs of curved bones that form the thoracic cage, protecting the heart and lungs while supporting respiration. These bones are categorized into true ribs, false ribs, and floating ribs based on their attachment to the sternum and vertebrae.