Plant part that develops into a seed?

Generally, the flower, after it dies and dries up, the seeds will be part of it or will form where the blossom fell off if the flowers are not deadheaded.