Mendelian genetics describes two laws: the law of segregation, where allele pairs separate during meiosis and randomly unite at fertilization, and the law of independent assortment, where allele pairs separate independently so that traits are transmitted independently. Mendel demonstrated the law of segregation through a experiment with pea plants where the F1 generation offspring from a cross between yellow and green pod parents all had green pods, and the law of independent assortment through studying smooth vs. wrinkled pea traits.