The stomach secretes intrinsic factor required for vitamin B12 absorption in the small intestine. The stomach also secretes mucous in its superior portion to allow for smooth passage of food through it. The colon concentrates and temporarily stores food residue prior to defecation.