The anti-inflammatory properties of aspirin are believed to play a role in cancer prevention. Chronic inflammation is a known risk factor for several types of cancer, including colorectal cancer and breast cancer. Aspirin inhibits enzymes called cyclooxygenases (COX-1 and COX-2), which are involved in the inflammatory process. By reducing inflammation, aspirin may help lower the risk of cancer development.