Surgical repair of hernias to relieve discomfort, restore function, and prevent complications.