Guilds were the associations of experts from different occupational sectors, who grouped themselves together for their economic benefit.