How does turmeric help reduce inflammation in the body?

How does turmeric help reduce inflammation in the body?