Gregor Mendel's experiments with pea plants in the mid-1800s laid the foundations for genetics. Through his work, Mendel discovered the basic principles of heredity, including the concepts of genes, alleles, dominant and recessive traits, and how traits are passed from parents to offspring. Mendel developed theories like the Law of Segregation and the Law of Independent Assortment to explain inheritance patterns. His work allowed scientists to better understand and predict outcomes of genetic crosses using tools like Punnett squares and pedigree charts.