The sac enclosing a joint. It is composed of an outer fibrous articular capsule and an inner synovial membrane.