explain why body cavities are a part of the structure and function of organ systems