Final answer:
Membranes surround and protect ball-and-socket synovial joints, internal cavities housing organs, and cavities open to the outside world.
Step-by-step explanation:
Membranes surround and protect both ball-and-socket synovial joints and internal cavities housing organs. Synovial joints are characterized by a joint cavity filled with synovial fluid, which is secreted by the synovial membrane. The walls of the joint cavity are formed by the articular capsule. This fluid and membrane combination provide cushioning and lubrication to facilitate smooth movements between bones in the joints.
Cavities open to the outside world, such as respiratory and digestive tracts, are lined by mucous membranes which help protect and lubricate the surfaces. Therefore, the correct answer is option d) All of the above.