The cartilage at the end of the bones in a joint acts as a cushion, allowing the joint to move easily and painlessly.