Ligaments attach muscles to bones.