Mendel was studying how genes are past on to future generations and in what circumstances this can occur. He used pea plants as they multiply and grow quickly allowing him to observe many generations much faster than he would be able to observing humans or even other mammals. He also used pea plants because this way he could control reproduction of his pea plant population to adjust to specific questions he had in terms of his research.
DNA cloning allows a copy of any specific part of a DNA or RNA sequence to be selected from the millions of other sequences in a cell and produced in unlimited amounts in pure form.