Pineapple stem and juice contain bromelain, a group of enzymes that can help reduce pain and swelling, including after dental surgery. A small 2018 study published in the Journal of Dentistry in Tehran tested the effect of bromelain on patients, who underwent gingival grafting, and researchers found that bromelain can effectively reduce pain and may even aid in healing.