In the mid-1800s, Mendel spent sort of an unhealthy amount of time grubbing around in his garden with a bunch of pea plants, and through a series of experiments crossing the pea plants and seeing which traits got passed on and which didn't, he came up with a frame work for understanding how traits actually get passed from one generation to another.