Medieval torture was used both to extract confessions and to punish the convicted prior to execution. Torturers (who were often clergy) had a huge toolkit with which to practise their bleak black art.