An intestinal resection involves the removal of part of the small or large intestine. The remaining sections are reconnected in a process known as anastomosis. This procedure is usually performed to treat or manage various gastrointestinal disorders, including tumors, necrosis, or severe inflammation.