Chyme slowly passes through the pyloric sphincter and into the duodenum of the small intestine, where the extraction of nutrients begins. Gastric juice in the stomach also contains pepsinogen. Hydrochloric acid activates this inactive form of enzyme into the active form, pepsin. Pepsin breaks down proteins into polypeptides. Absorption
Although the absorption in the human digestive system is mainly a function of the small intestine, some absorption of certain small molecules nevertheless does occur in the stomach through its lining. This includes:

Water, if the body is dehydrated
Medication, such as aspirin
Amino acids
10–20% of ingested ethanol (e.g. from alcoholic beverages)
Caffeine
To a small extent water-soluble vitamins (most are absorbed in the small intestine)The parietal cells of the human stomach are responsible for producing intrinsic factor, which is necessary for the absorption of vitamin B12. B12 is used in cellular metabolism and is necessary for the production of red blood cells, and the functioning of the nervous system. Control of secretion and motility
The movement and the flow of chemicals into the stomach are controlled by both the autonomic nervous system and by the various digestive hormones of the digestive system:

Other than gastrin, these hormones all act to turn off the stomach action. This is in response to food products in the liver and gall bladder, which have not yet been absorbed. The stomach needs to push food into the small intestine only when the intestine is not busy. While the intestine is full and still digesting food, the stomach acts as storage for food.
The presence of the inner oblique layer is distinct from other parts of the gastrointestinal tract, which do not possess this layer. Stomach contains the thickest muscularis layer consisting of three layers, thus maximum peristalsis occurs here. The inner oblique layer: This layer is responsible for creating the motion that churns and physically breaks down the food. It is the only layer of the three which is not seen in other parts of the digestive system. The antrum has thicker skin cells in its walls and performs more forceful contractions than the fundus. The middle circular layer: At this layer, the pylorus is surrounded by a thick circular muscular wall, which is normally tonically constricted, forming a functional (if not anatomically discrete) pyloric sphincter, which controls the movement of chyme into the duodenum. This layer is concentric to the longitudinal axis of the stomach. Auerbachs plexus (myenteric plexus) is found between the outer longitudinal and the middle circular layer and is responsible for the innervation of both (causing peristalsis and mixing).The outer longitudinal layer is responsible for moving the bolus towards the pylorus of the stomach through muscular shortening. To the outside of the muscularis externa lies a serosa, consisting of layers of connective tissue continuous with the peritoneum. Glands
The mucosa lining the stomach is lined with a number of these pits, which receive gastric juice, secreted by between 2 and 7 gastric glands. Gastric juice is an acidic fluid containing hydrochloric acid and the digestive enzyme pepsin.