Black-eyed peas (a cowpea variety) and black-eyed beans are both types of legumes - they have edible seeds and pods, so you can use the terms interchangeably. In other words, they're basically the same thing!