I believe the answer is: organizations of artisans in the same trade
Guilds were formed by a group of people who worked in the same line of business. The purpose is so they could minimalize competition, regulate price of their services, and work together to find larger projects that bring more profit for them.