Prostaglandins cause a variety of effects. They produce fever and swelling, increase sensitivity of pain receptors, inhibit blood vessel dilation, regulate the production of acid and mucus in the stomach, and assist kidney functions.
By preventing COX-2 enzymes from catalyzing prostaglandin production, aspirin reduces fever and swelling. It also suppresses pain receptors and so functions as a painkiller.