stocks -
a former instrument of punishment consisting of a heavy timber frame with holes in which the feet (and sometimes the hands) of an offender could be locked
Stocks are devices used in the medieval times for torture, public humiliation, and corporal punishment. The stocks partially immobilized its victims and they were often exposed in a public place such as the site of a market to the scorn of those who passed by. Since the purpose was to punish offenders against the standards of conduct of the time, anybody could assault, revile or aim filth at the victim.