Gregor Mendel conducted experiments with pea plants to study heredity and inheritance of traits. He found that traits are passed from parents to offspring through discrete units called genes. Mendel discovered that genes exist in pairs and can be dominant or recessive, and that they assort independently during reproduction. His work established the foundations of classical genetics and heredity.