What is a Bailey?

A bailey is the courtyard of a castle. The courtyard is an enclosed area that has no roof, so that it is open above so that the sky can be seen. Courtyards are not only for castles anymore, they are popular now for gardens in the backyards of homes.