The US Code defines sodomy as:
"Any person ... who engages in unnatural carnal copulation with another person of the same or opposite sex or with an animal is guilty of sodomy. Penetration, however slight, is sufficient to complete the offense."
Most countries outlaw bestiality but homosexual activity is gradually being decriminalized.