Rather than referring to a medieval place of torture, in the BDSM context the term dungeon refers to  a room or area with BDSM equipment and play space

Dungeon