marshmallow leaf and root are used for pain and swelling (inflammation) of the mucous membranes that line the respiratory tract. they are 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.