Glands in the stomach: Gastric glands are located in the walls of the stomach. Digestive secretions: Hydrochloric acid (HCl): Kills bacteria and provides acidic medium. Pepsinogen: Converts to pepsin in acidic medium and digests proteins. Mucus: Protects the stomach lining from acid.