What does the Spanish inquisition symbolize in The Pit and the Pendulum?

explanation of what the pit and the pendelum have to do with the spanish inquisition