Prostitution law varies widely from country to country, and between jurisdictions within a country. Prostitution or sex work is legal in some parts of the world and regarded as a profession, while in other parts it is a crime punishable by death.
In many jurisdictions prostitution —the commercial exchange of sex for money, goods, service, or some other benefit agreed upon by the transacting parties— is illegal, while in others it is legal, but surrounding activities, such as soliciting in a public place, operating a brothel, and pimping, may still be illegal. In many jurisdictions where prostitution is legal, it is regulated, in others it is unregulated. In most jurisdictions which criminalize prostitution, the sex worker is the party subject to prosecution and penalty, in other jurisdictions it is the client who is the party subject to prosecution and penalty, or in others it is both transacting parties.
Prostitution has been condemned as a single form of human rights abuse, and an attack on the dignity and worth of human beings, while other schools of thought state that sex work is a legitimate occupation; whereby a person trades or exchanges sexual acts for money and/or goods. Some believe that women in developing countries are especially vulnerable to sexual exploitation and human trafficking, while others distinguish this practice from the global sex industry, in which "sex work is done by consenting adults, where the act of selling or buying sexual services is not a violation of human rights." The term "sex work" is used interchangeably with "prostitution" in this article, in accordance with the World Health Organisation (WHO 2001; WHO 2005) and the United Nations (UN 2006; UNAIDS 2002).
In more countries, sex work is controversial. Members of certain religions oppose prostitution, viewing it as contrary or a threat to their moral codes, while other parties view prostitution as a "necessary evil". Sex worker activists and organizations believe the issue of sex worker human rights is of greatest importance, including those related to freedom of speech, travel, immigration, work, marriage, parenthood, insurance, health insurance, and housing.