Genetic variation within populations is caused by mutations, immigration, and natural selection acting on individuals with different traits. Environments change over time, applying selective pressure that can cause populations to evolve through mechanisms like isolation and variation between individuals. DNA contains the genetic code through combinations of bases (A, T, G, C) that provide instructions for building proteins. Genes are sequences of DNA that determine traits; each gene has two alleles that may be dominant or recessive. Punnett squares predict offspring traits by combining parental alleles. Gregor Mendel first showed dominant and recessive inheritance through pea plant experiments. Genotype is an organism's genetic makeup, while phenotype describes how traits appear. Inheritance passes genes from generation to