This is something that has amazed me since the first time I saw it! Potato plants produce flowers and fruit. The fruit looks just like small green tomatoes! They are not edible though.
The reason for this is that potatoes are related to tomato plants! They are both from the “Solanaceae” family which also includes aubergines and chilli pepper plants.