Castration is any action, surgical, chemical, or otherwise, by which a male loses the functions of the testes or a female loses the functions of the ovaries. It is also a type of anaphrodisiac.

Castration in veterinary practice 
Castration is commonly performed on domestic animals not intended for breeding. 
Domestic animals are usually castrated in order to avoid unwanted or uncontrolled reproduction; to reduce or prevent other ways of sexual behaviour such as territorial behaviour or aggression (like fighting between groups of uncastrated males of a species); or to reduce other consequences of sexual behaviour that may make animal husbandry more difficult, such as fence destruction when animals try to get to nearby females of the species.

Male horses are usually castrated, because stallions are rather aggressive. The same applies to male mules, although they are sterile. Male cattle are castrated to improve docility for use as oxen.

A specialized vocabulary has arisen for neutered animals of given species:

 Barrow (pig)
 Capon (chicken)
 Dinmont (sheep, goat)
 Gelding (horse)
 Gib (cat, ferret)
 Havier (deer)
 Lapin (rabbit)
 Steer (cattle)
 Wether (sheep, goat)

Castration in humans 

The practice of castration has its roots before recorded human history.  Castration was frequently used in certain cultures of Europe, the Middle East, India, Africa and China, for political, religious or social reasons. After battles in some cases, victors castrated their captives or the corpses of the defeated to symbolise their victory and 'seize' their power. Castrated men — eunuchs — were often admitted to special social classes and were used particularly to staff bureaucracies and palace households: in particular, the harem. Castration also figured in a number of religious castration cults. Other religions, for example Judaism and Islam, were strongly opposed to the practice. The Leviticus Holiness code, for example, specifically excludes eunuchs or any males with defective genitals from the priesthood, just as castrated animals are excluded from sacrifice.

In China, to become a servant of the emperor, men had to be castrated. This would prevent them from having sons or having affairs with royal concubines. Eunuchs in China have been known to usurp power in many eras of Chinese history, most notably in the Later Han, late Tang and late Ming Dynasties. There are similar recorded Middle Eastern events.

Reasons

Medical 
Testicular cancer is generally treated by surgical removal of the cancerous testicle(s) (orchidectomy), often followed by radiation or chemotherapy. Unless both testicles are cancerous, only one is removed.

As punishment 
Edward Gibbon's famous work Decline and Fall of the Roman Empire reports castration of defeated foes at the hands of the Normans. Castration has also been used in modern conflicts, as the Janjaweed militiamen currently (as of 2005) attacking citizens of the Darfur region in Sudan, often castrating villagers and leaving them to bleed to death. In some countries, the law suggests castrating sex criminals such as hebephilles.

For religious reasons 
In Europe, when females were not permitted to sing in church or cathedral choirs in the Roman Catholic Church, boys were sometimes castrated to prevent their voices breaking at puberty and to develop a special high voice. The first documents mentioning castrati are Italian church records from the 1550s.

Miscellaneous 
 Orthodox Judaism forbids the castration of either humans or animals. Castrated animals are deemed unfit for sacrifice in the Temple; Castrated men are deemed unfit for the priesthood.
 Castration is used as a treatment for prostate cancer.
 Some parasitic nematodes chemically castrate their hosts, see microphallus.

Related pages
 Castrato, a castrated male singer
 Birth control

Notes

Other websites 

 Castration Through the Ages 
 Questions often asked about castration  by Sherry
 The Journal of Clinical Endrocrinology and Metabolism
 Neutering NOT Org Website arguing against the castration of domestic animals
 Eunuch.org Website for eunuchs and people with castration fetishes/fantasies. Includes a database of erotic stories, discussion forums, and more.
 Elastrator
 Boar taint in pigs selected for components of efficient lean growth rate

On religious castration 

 Susan Elliott, Cutting Too Close for Comfort: Paul's Letter to the Galatians in Its Anatolian Cultic Context  Reviews in Review of Biblical Literature 

Reproductive system
Anaphrodisiacs