How do bones connect together?

they have cartilage+some other stuff.