Joint pain and inflammatory conditions like rheumatoid arthritis can damage the cartilage making the bones to rub against each other causing inflammation, pain and friction. This condition is called as osteoarthritis.