Life’s purpose(biology) After all, the universe would be just fine if it was composed of a bunch of rocks and clusters of random simple chemicals. — Braindead
Fine according to who or what? How would it be less fine with just empty space? Or as it is today?
Moreover, purpose per theory of evolution- whatever you happen to give it. Per your context though, a non-living chemical cannot have 'purpose' rather 'desire' or 'will' as humanly understood. It just happened because it could happen ie. was possible. So it did. Going along with the nonsense however, as I'm sure many atheists subjectively do in thiest threads, which I'm sure is appreciated, the effort rather. And resisting the urge to embed a 'South Park evolution' video. It's pretty elementary really. Some single celled organisms became more efficient, became something bigger, that's basically it, repeated as often as you will.
There are two main views of evolution. With intelligent design and without. Without. Little more than consumption and its efficient conversion into energy for purposes of self-sustanence. With. You can begin to see a larger picture. On land, flies and their larvae and other scavengers remove dead organic matter, increasing space and preventing disease, arguably. Worms till the ground increasing nutrients. Bees pollinate flowers ensuring they are plentiful. Plants inhale carbon dioxide and release oxygen that larger animals, who ironically or perhaps tragically if you're one of those, graze upon. Larger animals eat those and in turn give us something to eat. In the sea, algae being a plant does the same. It, usually, cleans. Is eaten by krill. Which is in turn eaten by other fish and whales. Without posing the obvious question of did this all happen by chance. It's just something to ponder.