Dungeon

room or cell in which prisoners are held, usually during the Middle Ages and Renaissance

A dungeon is a room or cell in a castle to keep prisoners. Most dungeons are underground, some are high up in towers.

The dungeons of Blarney Castle, Ireland.

An oubliette is a type of dungeon that can be entered by using a trapdoor in the ceiling.