The historical and cultural background that led to the emergence of surrealism as a movement in the early 20th century.