A marketplace for food is the basis of all trade, and the beginnings of a merchant class in society. Trade is a much surer way to wealth, and far cleaner, than grubbing about in fields. Once trading wealth is accumulated it can, of course, be taxed by the ruling classes and used to pay for something important rather than cheap baubles for some merchant's frumpy wife...