How does turmeric affect inflammation in the body?

How does turmeric affect inflammation in the body?