What tissue attaches bones to bones and muscles to bones?

Tendons attach muscles to bones, while ligaments attach bones to other bones.