system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why is prostitution illegal? If both parties are consenting why is there an objection to those that sell their bodies for sex and those that pay for it?
gpt
short answer.  prostitution is illegal because the governing body of a locality (aka government) deems it illegal.

long answer.  most governments are rooted in religious background and just haven't caught up to modern times.  there is also the issue of human trafficking or forced sexual servitude, by making prostitution illegal, you [un]successfully prevent/reduce those crimes as well.