Gregor Mendel's experiments with pea plants in the mid-1800s laid the groundwork for the study of heredity. By analyzing the inheritance of various traits, he formulated his laws, which include the concepts of dominance, segregation, and independent assortment, explaining how traits are passed from parents to offspring.