What are guilds?

A.
organizations of slave owners
B.
people who labor in the service sector
C.
children of serfs who moved to the towns
D.
organizations of artisans in the same trade