The "Keep" is an old name for a jail or storage area  in a castle.