A surgical operation for the correction of a hernia (a bulging of internal organs or tissues through a defect in the wall of a body cavity). Hernias can occur in many places, including the abdomen, groin, diaphragm, brain, and at the site of a previous operation.