The answer is: controlled how their industry operated
In the past, the guilds had the power to intervene the market like the our current government does.
For example, the guilds could determine the minimum and maximum price for the products in their industry. They also could determine the materials that are seen as acceptable to be used in their industry.