Joint lubrication involves the production of synovial fluid by the synovial membrane, which lines the joint capsule. This fluid acts as a lubricant to reduce friction between the articular cartilage of synovial joints during movement, thereby facilitating smooth and pain-free motion.