Gregor Mendel conducted experiments with pea plants in the 1800s that laid the foundations of modern genetics. Through his work with true-breeding pea plants that differed in traits like plant height, seed shape and color, Mendel was able to deduce three principles of heredity: 1) the law of dominance, which states that some gene variants are dominant over others, 2) the law of segregation, which is that genes separate during gamete formation, and 3) the law of independent assortment, meaning that different genes assort independently of each other. Mendel's discoveries helped explain the patterns of inheritance through the concepts of genes, alleles, dominance, and segregation.