What is a bailey from motte and castle?

In the context of a motte-and-bailey castle, the bailey is the fortified enclosure or courtyard located next to the motte, which is a raised mound. The bailey is usually surrounded by a defensive wall or palisade, and may contain various structures such as living quarters, workshops, storage buildings, and stables. The bailey served as the main living and working area for the inhabitants of the castle, while the motte was primarily used for defensive purposes.
Copyright Wanderlust World © https://www.ynyoo.com