How does modernism relate to the 20th century?

How do you define "modernism" in this context?