Really? This is getting upvoted here? How disappointing.
"Evolution doesn't have a goal, it doesn't make future plans. Evolution is an accident." - Richard Dawkins in The Selfish Gene
Did you know giraffes have a nerve connecting the points in it's head that are about 5cm apart? But instead of connecting those 2 points directly, the nerve goes all the way down through the neck, then all the way back up, to connect its end point. Is there any advantage in this design instead of just connecting directly? No there isn't, giraffes are that way only because, historically, that's how they evolved. Evolution doesn't make intelligent plans. Mutation happens randomly, then natural selection will sometimes prune out bad mutations. That's all. Evolution is imperfect. Alluding there's anything intelligent about evolution is alluding to intelligent design and creationism.