Gastrointestinal tract
The small intestine begins at the duodenum and is a tubular structure, usually between 6 and 7 m long. Its mucosal area in an adult human is about 30 m. Its main function is to absorb the products of digestion (including carbohydrates, proteins, lipids, and vitamins) into the bloodstream. There are three major divisions:
Small intestine
Absorption of the majority of nutrients takes place in the jejunum, with the following notable exceptions:The small intestine supports the body's immune system. The presence of gut flora appears to contribute positively to the host's immune system. 
Peyer's patches, located within the ileum of the small intestine, are an important part of the digestive tract's local immune system. They are part of the lymphatic system, and provide a site for antigens from potentially harmful bacteria or other microorganisms in the digestive tract to be sampled, and subsequently presented to the immune system.