Randomness and evolution, as already mentioned, are intertwined in a few different ways.
One is that mutations are often considered to happen randomly.
Usually they do, but not always:
Both are based upon mechanisms that have most likely been selected for because they yield better survival.
Selection vs.
Random Drift:
Selection (natural or human driven) can impose a non-random direction to changes.
The always present alternative to selection is change that happens randomly.
This can be due to the lack of strong selective values (
usually at a molecular level) of one allele vs. another.
Another way random changes can have more impact on a population depends on the size of the population in question.
Rive said:
forgetting about the randomness involved is a bit dangerous given the situation of some species with decreased population.
As an evolving population's size goes down it becomes
more likely to change randomly and the
rate of adaptive change in a population's gene frequencies is decreased for a number of reasons. A large population reduces the likelihood that a population's gene frequencies will change randomly and increases the strength of natural selection on population.
Extreme examples:
Small population: The gene changes in an inbred population of mice being maintained through brother sister crosses. This is explained by the random inheritance of the same allele of a particular gene by a limited number of offspring.
Large population: a global population of interbreeding bacteria.