In complex castles, the spaces between the outer and inner walls that form courtyards bordering the central defenses of the castle, and that may house facilities for animal husbandry, storage, processing of materials, or gardens.