To
surgically remove the
testicles. The
penis is
not removed in
castration.
When this is done to a non-human animal, it is referred to as neutering. The female analogue is spaying.
A human male who has been castrated is a eunuch. A eunuch who can sing in Italian is called a castrato.