Merchants played an important economic role in medieval times, trading goods like food, spices, silk, gold, and animals. They felt protected living in castles when the kingdom was under attack, as kings invited merchants and other skilled workers inside for their services. Merchants wore leggings or tights with a long black dress and shirt, and kings relied on them to supply money, food, and other resources through their trading.