@magdo,
Life started on the earth when Allah first created the earth and filled it with water, air, different types of food, and what its inhabitants need from clothing, residence, medicine and other things, i.e. He prepared everything man needs, then God created the first man who is Adam from the elements of the earth, then He breathed in him from His spirit and created Eve from him. After He lodged them in paradise to see different types of favor and bounties God prepared for righteous people from his offspring, He willed that they come down to the earth to inhabit it.
So the aim of their life on the earth was to dwell it by what Allah likes of useful deeds, good morals and good dealings, they also breed and propagate and teach their children and grandchildren to keep and fulfill their covenant to God by obeying Him, remembering Him, being thankful to Him and worshiping Him properly. Whoever keeps to this, he is the guided and the happy one, God makes his life a good one and makes him happy in the hereafter by His favor in paradise. And whoever disobeys Him and follows his desires and wishes spoiling and corrupting in life and destroying crops and cattle though he knows that God doesn’t like mischief, such man is a disbeliever in God’s bounties and not keeping his covenant to God, so God despises him, scorns him and gets him in Hell on the Day of Judgment to face torture as he is a disbeliever and ungrateful.