Parietal cells (also called oxyntic cells) in the gastric glands of the stomach lining secrete hydrochloric acid (HCl). This acid helps in breaking down food, activating enzymes like pepsinogen into pepsin, and killing bacteria ingested with food.