Size of the stomach is reduced and a part of small intestine is bypassed so that the digestion process is altered and less food is consumed and absorbed.