The story is about the torments endured by a prisoner of the Spanish Inquisition, though Poe skews historical facts. The narrator of the story describes his experience of being tortured.
The Pit and the Pendulum