Depending on how they attach to the sternum, the ribs are divided into three groups: true, false, and floating ribs.