Marshmallow root are used for pain and swelling (inflammation) of the mucous membranes that line the respiratory tract. It is also used for dry cough, inflammation of the lining of the stomach, diarrhea, stomach ulcers, constipation, urinary tract inflammation, and stones in the urinary tract.ï»¿