There are two components to the procedure. First, a small stomach pouch, approximately one ounce or 30 milliliters in volume, is created by dividing the top of the stomach from the rest of the stomach. Next, the first portion of the small intestine is divided, and the bottom end of the divided small intestine is brought up and connected to the newly created small stomach pouch. The procedure is completed by connecting the top portion of the divided small intestine to the small intestine further down so that the stomach acids and digestive enzymes from the bypassed stomach and first portion of small intestine will eventually mix with the food.
(Content source: American Society for Metabolic and Bariatric Surgery)