Castration (also referred to as: gelding, neutering, fixing, orchiectomy, and orchidectomy) is any action, surgical, chemical, or otherwise, by which a male loses the functions of the testicles. In common usage the term is usually applied to males, although as a medical term it is applied to both males and females.