Rosmarinus officinalis L. compounds, especially its main polyphenolic compounds, carnosic acid (CA) and rosmarinic acid (RA), influence various facets of cancer biology, making them valuable assets in the ongoing fight against cancer. These two secondary metabolites exhibit formidable antioxidant properties that are a pivotal contributor against the development of cancer. Their antitumor effect has been related to diverse mechanisms. In the case of CA, it has the capacity to induce cell death of cancer cells through the rise in ROS levels within the cells, the inhibition of protein kinase AKT, the activation of autophagy-related genes (ATG) and the disrupt mitochondrial membrane potential. Regarding RA, its antitumor actions encompass apoptosis induction through caspase activation, the inhibition of cell proliferation by interrupting cell cycle progression and epigenetic regulation, antioxidative stress-induced DNA damage, and interference with angiogenesis to curtail tumor growth. To understand the molecular interaction between rosemary compounds (CA and RA) and a protein that is involved in cancer and inflammation, S100A8, we have performed a series of molecular docking analyses using the available three-dimensional structures (PDBID: 1IRJ, 1MR8, and 4GGF). The ligands showed different binding intensities in the active sites with the protein target molecules, except for CA with the 1MR8 protein.