Discectomy is a surgical procedure aimed at relieving pressure on nerve roots or the spinal cord by removing a portion of a herniated disc in the spine. It is typically recommended when conservative treatments fail to alleviate symptoms such as pain, weakness, or numbness caused by a herniated disc.