Hernia surgery is a surgical procedure done to return an organ to its original place after protrudin…