Goblet cells are used to secrete mucous which is made up of which is large glycoproteins made of carbohydrates and proteins. They are located in the epithelial cells of the digestive and respiratory tract in the stomach, small intestine, trachea bronchi and larger bronchioles and are glandular simple columnar cells. These are mainly used mostly to prevent from the foreign particle and in the stomach, it prevents the wall from damage caused by HCl.