so you got the answer.
who want to know more google: MENDEL'S GENETIC LAWS
Now, notice in that very brief description of his work that the words "chromosomes" or "genes" are nowhere to be found. That is because the role of these things in relation to inheritance & heredity had not been discovered yet. What makes Mendel's contributions so impressive is that he described the basic patterns of inheritance before the mechanism for inheritance (namely genes) was even discovered.Once upon a time (1860's), in an Austrian monastery, there lived a monk named Mendel, Gregor Mendel. Monks had