is a surgical procedure to remove one or both testicles, primarily performed to treat testicular cancer