Accidental? No freakin way!
May I suggest that it is your perception of what 'evolution' means which leads you to make that statement.
The whole point of evolution is that none of it is an accident. Every attempt to survive is purposeful, and is based on adapting to the environment. It's just that there are some failures, some successes.
Saying evolution is based on random chance is like saying that Olympic Gold Medal winners are not based on skill, but on lotto tickets given to the audience.