A Detention area, or Security area, was a location where prisoners were kept.
The detention area of Otoh Gunga was a lower bubble.
The detention area of the first Death Star was the location of Detention Block AA-23.
The detention area of Crimson Jack's battlecruiser was the retention block.