Gregor Mendel performed experiments with pea plants from 1856 to 1863 to study heredity. He found that pea plants have traits such as flower color and seed shape that are inherited. Through controlled breeding experiments involving over 28,000 pea plants, Mendel discovered that traits are passed to offspring through discrete factors, now known as genes, and that some traits are dominant over recessive traits. His findings disproved the prevailing theory of blending inheritance and established the basic principles of genetics.