First, refer to different
1, pea: peas, peas.
2, beans: beans, kidney beans.
Second, the usage is different
1, pea: any of varied edible seeds of plants of the family Leguminosae used for food, an edible seed used as food.
2. bean: the seed of a pea plant used for food.
Third, the focus is different
1, pea: Focus on edible beans.
2. bean: Focus on legumes.