Avocados, beans, pea pods, corn kernels, cucumbers, grains, nuts, peppers, squash and tomatoes are also considered fruits as opposed to vegetables. Celery, lettuce, cauliflower, broccoli, beets, carrots and potatoes are referred to as vegetables. Fruits and vegetables are highly similar in terms of nutrition.