Well, part of how they work affects certain enzymes and chemicals in the body that stop or reduce inflammation (duh!), and, somewhat unsurprisingly, inflammation although a problem at times, for example, a sore knee, is also part of our general human adaptation to life, in other words, it is how we have evolved.