Answer:
The answer is guilds
Explanation:
In flourishing medieval cities such as Bruges, Hamburg, Florence, and also others such as Genoa, Venice, and Ragusa, increased trade stimulated economic activity.
People began to move to the cities from the countryside looking for jobs, and organized themselves in guilds: associations of people who had a common trade, or a common profession.
There were guilds of merchants, shoemakers, clothes makers, leather workers, blacksmiths, barbers, tanners, and so on.
These guilds worked almost like trade unions: they controlled the labor market for the trade, allowing or denying entry to new people, and influencing wages.