What causes pain in the leg joints?

There are many causes of leg joint pain, such as.
Trauma, sports with violent impact, etc. can lead to damage to the bones or ligaments of the knee joint
septic arthritis which can lead to bone destruction and congestion and oedema in the joint
tuberculosis of the knee joint which can lead to bone destruction
chondromalacia patellae can lead to cartilage damage.