Pea plants have several visible differences, and since it is a common plant Mendel saw it as a perfect subject for his experiments, since pea have stamen and stigma these plants can self-pollinate, fertilizing the stigma with stamen's pollen, to prevent this, Mendel removed their stamen.
I added an illustrative image, I hope you find this information useful! Good luck!