Gregor Mendel conducted experiments with pea plants to study inheritance of traits. He found that traits are inherited in distinct forms called alleles and that alleles can be dominant or recessive. Through his experiments and statistical analysis, he developed two laws of inheritance: the Law of Segregation, which states that organisms pass only one of their two alleles to offspring, and the Law of Independent Assortment, which states that different genes are passed to offspring independently. Mendel's work formed the basis of classical genetics and provided evidence that traits are inherited based on discrete units of heredity now called genes.