This world is a Software Project. We, humans are the programs or basically code segments. The God himself is a CEO of this firm which has made this software.
Let me elaborate it by beginning with the almighty himself. Almighty is a CEO / CFO/ Founder or a whole sole in-charge of a huge software firm. He once thought of starting a new project which should last or be functional until he himself wants to destroy it or the programs themselves stop supporting the software functionality.
So he asked his most skilled developer “Nature” to do so and provided it a set of resources(Earth, Fire, Water, Sky and Air)which will be used to develop these programs .She (Nature) should manage their utilization. Nature then started creating the programs. She initially created two classes Male and Female and then made one object out of each class. The objects were named Adam and Eve.
As the project was approved, more classes were created (as inherited classes of male and female) and more objects were created. Day by day the code started becoming intelligent (Artificial Intelligence). Now the code is so complex and intelligent that it has started to exploit the resources and the developer herself is getting sick due to the pressure of adjusting as per the code behavior.
When we look at the Gita/Bible/Quran/Guru Granth Saheb etc. all the books explain how the code should behave so that whole software should run as designed. But since the whole code never works as per the documentation so does the humans.
The angels and demons are basically same as the support and testing team. While demons try their best to bring out our flaws on the other hand, angels are there to bring us back on the track. Just like the support (maintenance team) is always there after release to help if the code doesn’t behave properly angels are there in the world.
Hence be a proper code segment. Find out for what purpose you are there in the program and fulfill it. Always try to get executed successfully. Try not to report an unhandled exception , whatever is the value supplied to you. Remember each and every code segment always matters for a whole software to compile and run successfully.