Why do people prostitute themselves?

I think in restrictive societies a larger percentage of the population uses prostitutes than compared to more open ones but that's just my hypothesis.

An extreme view that I've heard is that traditional marriage is simply an institutionalized form of long-term prostitution, where a father basically sells off his daughter, in exchange for her financial support given by the groom. I think in some cases this is definitely true; for example, in a marriage where there is no love and it is a purely economic arrangement. If a person is a believer in that both marriage and p are just different forms of exchanging resources, then it is easy for a person to prostitute themselves. But personally I think marriage is not just about s.x and the couple should have an emotional bond with each other and dependence on each other for other things so their relation is not reduced to simply the man providing and the woman producing.