Rosemary Rosemary has antimicrobial and anti-inflammatory properties because it contains carnosic acid and rosmarinic acid. These compounds fight the enzyme that causes pain and inflammation in the body, and prevent the production of excess nitric oxide that the body needs, which plays a major role in the occurrence of inflammation