Ligaments hold joints together and tendons attach the muscles to the bone. Tendons attach muscle to the bone. Another injury could be where the muscle is torn. A typical example of this is a hamstring injury in the leg where muscle fibres get torn causing severe pain and swelling.