Gregor Mendel conducted experiments with pea plants to study inheritance of traits. He found that traits are passed from parents to offspring through discrete units called alleles, and that alleles segregate and assort independently during reproduction according to his principles of segregation and independent assortment. Mendel's discoveries established the foundations of classical genetics.