This question already has an answer here:
- What is the need of creation? 2 answers
According to Hinduism -
1.What's the purpose of creation of the universe?
Why god created humans? What's the purpose?
Why did he create humans to be highly intelligent and animals not so much?
Why does he want only humans to worship him and not animals? Has he actually asked humans to worship him or are humans worshipping him by their own will?