Joints are the structures that connect two or more bones in your body. Joint swelling can cause pain or stiffness.