That's the thing I'm trying to understand. How exactly does self-selection work? Not every living creature has parents to teach them what works best so it must be transferred in the genetic code. Is there a known process to this or do we just assume that all natural actions, whether physical like radiation on the epidermus or knowing which creatures are predator or prey, gets ingrained in our DNA?
Living creatures hone their skills over time and this is impossible if they have to start-over everytime they're born.
you are making the mistake that there is some sort of 'intent' with evolution. what you see happening now is the result of molecules that began spontaneously self replicating - this is the part we haven't conclusively teased out yet. We know and have seen small molecules that do spontaneously self replicate, but we have trouble figuring out exactly how or where life started, since conditions would probably have to be just right.
EIther way, molecules that began self replicating would naturally self select for those that replicate faster. At some point, you have rudimentary membrane formation from micelles, blah blah blah -> millions and billions of years later you have life as we know it on earth. Basically, life can be seen as a race that started for no reason, no ending, and no underlying meaning. It started, and life just goes because it just is.
Addressing your question about learning... as I understand it, lower life forms rely heavily upon their instincts in order to survive. There is no hand telling them what to do, they do it because they've evolved to fill that ecological niche. Higher life forms can learn, but most do so to a limited extent. Indeed, you could say that their genes have interred in them the instinct to copy and learn from others as well. Anyways, this is why viruses and tapeworms and other creatures can be eradicated - they are only following their genetic programming, and cannot adapt to the situation when humans apply pressure, and therefore perish. You need to recognize your own biases when you suggest that a creature has an invisible hand guiding its evolution, and then blame humans for making it go extinct. Its either evolution or its an invisible hand..one or the other.
If you are wondering about the complexity of life, consider the Eye.
1. There are bacteria(?) that can use photosynthesis to make light. They have a light sensing dot. This allows them to sense if there is light or not, but not the direction of it.
2. At some point, the light sensing dot became larger and acquired bumps/dip. Flatworms have very rudimentary eyes that have a little dip in them. The dip allows light to cast shadows in the eye, giving the flatworm the ability to tell, if very crudely, which direction the light is coming from.
3. as that 'bump' deepens, you would get more of a pinhole. Remember, pinhole cameras were the first ways to focus light.
4. As you get a 'depression' in the eyes, you'd need a membrane to cover the top. Creatures who had better membranes would be able to see better, allowing them a greater advantage. This membrane, for some creatures, would eventually become the lens.
The reason why you dont see many creatures roaming around with crappy eyes is because they're all dead or dead-ends in the evolutionary tree. The eyes we see now on creatures are uniquely suited to their environment, by which I mean the physical characteristics of their surroundings as well as the prey/predators they are surrounded by.
Just as example of simple -> complex, due to the randomness of evolution.