Surrealism was an art movement in the early 20th century that focused on dream imagery and the subconscious mind. Artists used techniques like automatism to create works with abstract and irrational forms inspired by dreams. Salvador Dali, a prominent surrealist painter, is known for works like The Persistence of Memory which featured melting clocks and was completed in the 1940s.