When cartilage begins to wear out, the underlying bones begin to rub together, which results in pain when walking. This condition is known as osteoarthritis.