Tomatoes, squash, peppers and eggplants are fruits that are generally considered vegetables. Botanically, they are fruits. Peas are seeds of the plant and are considered vegetables too.
Source: Vegetable Research and Information Center, University of California, Davis; Photo source: CDC free CDC13689_lores