Please choose the correct answer to the question: In the 17th century, Gregor Mendel crossed pea plants with different traits and observed the results in their offspring. To which of these did Mendel contribute most directly with his work?

Answer1: medicine Answer2: agriculture Answer3: science of force and motion Answer4: science of heredity and variation

Answer format: answer1/answer2/answer3/answer4
Answer: answer4