DNA contains the genetic information that directs the activities of cells and ensures that offspring inherit the traits of their parents. Genetic information is passed from one generation to the next through the process of reproduction. DNA also plays a key role in evolution by providing the variability that natural selection acts upon. Genetic information is responsible for the diversity of life, and enables organisms to adapt to changing environments.