Gregor Mendel performed experiments with pea plants that helped establish the laws of inheritance. Through monohybrid and dihybrid crosses, Mendel discovered that traits are inherited through discrete factors (now known as genes) that segregate and assort independently during the formation of gametes. His work showed that dominant traits are expressed when only one gene is present, while recessive traits require two recessive genes to be expressed. The ratios of traits seen in subsequent generations provided evidence of his principles of inheritance and independent assortment.