 In the food industry, hydrochloric acid is used as a food additive and in the production of gelatin.Hydrochloric acid is also used in leather processing.Hydrochloric acid was discovered by the alchemist Jabir ibn Hayyan around the year 800 AD.