Genetics is the branch of biology that studies genes, heredity, and variation in living organisms. It plays a crucial role in understanding how traits and characteristics are passed from one generation to the next, linking it directly to evolutionary theory and its implications for both science and society.