Acetaminophen works by inhibiting the production of prostaglandins, chemicals in the body that cause inflammation and swelling, thereby reducing pain and fever. Unlike nonsteroidal anti-inflammatory drugs (NSAIDs), acetaminophen does not possess significant anti-inflammatory properties.