Welcome to icliniq.com.
There are many causes of leg pain.
The most common is degenerative lumbar disc disease with radiculopathy due to compression of nerve root especially if the pain is only on one leg.
The other causes are vitamin D and B deficiency especially if the pain is on both sides and vascular insufficiency.
However, the last one is seen in smokers and elderly generally not at this age.
For more information consult an internal medicine physician online --> https://www.icliniq.com/ask-a-doctor-online/internal-medicine-physician