The purpose of the surgery is to repair the damage to the ligaments in your shoulder. Ligaments are strong, cord-like structures that connect one bone to another.