What is Maya?
Sanskrit māyā, from mā “not” and yā “this.
The nearest words can be an illusion, false belief, mirage.
Fundamentally everything that has a finite lifetime that appears in the universe is a part of Maya, this may include our universe itself if it is having a finite lifetime, obviously, the derivatives of finite objects are also part of Maya like our emotions.
What is the purpose of the concept of “Maya“?
First mentioned in Rigveda as a tool employed by gods to produce natural phenomena to sustain the world, for example, God Varuna produces rain.
Then as philosophy gets refined, the Maya is now is the cause of the phenomenal world emanated from ( God, Brahman, etc..)
as we go on the discussion is endless… and thus we are played by Maya.