Medieval guilds were associations of craftsmen and merchants that aimed to protect their members' economic interests and provide mutual support. They established monopolies in their respective trades, set quality standards, and regulated prices. Guilds also offered social and religious functions, contributing to the structure of medieval society.