Specifically, hydrochloric acid is produced by specialized cells in the stomach lining called parietal cells.