Joint cavity refers to the area inside the joint capsule of diarthrodial or synovial joints.