Since every individual carries out any job to earn money, he practices prostitution to all intents and purposes. Selling your sex organ is no different than selling any other part of your body, like your voice, brain, muscles, and more, just to get money.
You are correct that morally, and practically, sex work, and other forms of work, are no different.
You are incorrect that both are prostitution, as the word has a specific definition.