Gregor Mendel experimented with pea plants to understand heredity. He found that traits are passed from parents to offspring through discrete units called alleles. Dominant alleles are fully expressed in offspring when present, while recessive alleles are only expressed when homozygous. Mendel's experiments showed that traits segregate and assort independently during reproduction according to genetic rules.