Why are people with osteoarthritis of the knee or hip encouraged to exercise?

Sometimes people who have knee or hip pain from osteoarthritis are hesitant to do exercise. Along with weakening of the joints and the muscles around these joints, inactivity also leads to poor fitness. Exercise is a way to ease pain and improve ability to do daily activities, even for people who have knee or hip osteoarthritis.