Resurrection & its purpose

After the total destruction of all living and non-living creatures, the trumpet will be blown second time. This will make all human beings to rise out of their graves just like the plantation grows out of a barren land. Every human is going to come back to life once again and be presented in front of their creator, Allah سبحانه وتعالى to account for their deeds earned during their life span on the earth. Everyone will come to know the value of their deeds in the eyes of their Lord and no one will be able to deny or hide any secrets of their life. Those who had true believe and performed good deeds will be awarded and those who disbelieved and performed bad deeds will be punished. The reckoning of that day is sure to come and nobody will be able to escape it.