This surgery fixes an ovary that has twisted. When such twisting happens, it's called ovarian torsion.