Since the images are not available, I can only give the hints to correctly classify the items as a fruit and a vegetable.
a. If it is a fruit, then it will have seeds inside it. Example, the seeds in a citrus lime or a lemon, a watermelon.
b. If it is a vegetable, then it will be any edible part of the plant, like the leaves, stem, roots, or the flower, but not the fruit. Examples are spinach, potato, cauliflower, cabbage, etc.