The legality of prostitution varies from country to country .
Prostitution is one of the branches of the sex industry . The legal status of prostitution varies from country to country , from being a punishable crime to a regulated profession .