What causes hip pain and knee pain on the left leg in a 29 year old female

What causes hip pain and knee pain on the left leg in a 29 year old female.

Rheumatoid arthritis, ankylosing spondylitis, gout there are many

Pain is never a symptom for any specific disease. You need to visit a doctor for history, examination and investigation and probably diagnosis and appropriate treatment.

Unless you want deferential diagnosis