c.1300, "unnatural sexual relations," such as those imputed to the inhabitants of Biblical Sodom, especially between persons of the same sex but also with beasts, from Old French sodomie, from Late Latin peccatum Sodomiticum "anal sex," literally "the sin of Sodom," from Latin Sodoma. In Middle English also synne Sodomyke (early 14c.).
sodomy sod·om·y (sŏd'ə-mē)
n.
Anal copulation of one male with another.
Anal or oral copulation with a member of the opposite sex.
Copulation with an animal.
Sexual intercourse that is not the union of the genital organs of a man and a woman. The term is most frequently applied to anal intercourse between two men or to sexual relations between people and animals. (See pederast.)
Note: According to the Bible, God destroyed the cities of Sodom and Gomorrah for unacceptable sexual practices, apparently including anal intercourse between men. Sodomy takes its name from the city of Sodom.
Note: Many governments have laws against sodomy. These laws are difficult to enforce, however, and many people believe they violate personal privacy.