The conversation between human and AI assistant.
[|Human|] Why Spark is faster than MapReduce?
[|AI|] The main difference between Spark and MapReduce is that Spark processes and retains data in memory for subsequent steps, whereas MapReduce processes data on disk.
[|Human|] 
Why Spark is faster than MapReduce?