Diabetes surgery, also known as metabolic or bariatric surgery, is an advanced medical procedure designed to help patients with type 2 diabetes achieve long-term blood sugar control and, in many cases, complete remission of the disease.