Endoscopic discectomy is a minimally invasive surgical procedure used to remove herniated disc material in the lower back causing leg pain. It is done through small incisions using an endoscope, preserving tissues and nerves. This allows for less damage, shorter recovery times, and lower risks of complications compared to open back surgery. Endoscopic discectomy can treat conditions like herniated discs, disc bulges, and radiculopathy.