A fruit is a seed containing part of a plant when generated from a flower. The container may be hard and inedible, such as with nuts, or fleshy, such as in pomes.