Several reasons.
The feeling of achiving something. Even if I know that the things are not real it is a driving factor for me.
Using my brain to solve puzzles. Many games are great at mental challenges.
Experience something new. Through a story or through exploration or even new concepts and ways of thinking.