What were guilds ?

What were guilds ?

A. A type of money used in the Middle Ages
B. Organizations dating back to the 10th century
C. Kinds of labor unions
D. Only b and c