Fact 1: Female gametophytes produce eggs inside the ovaries of flowers. 
Fact 2: Fruits develop from the ovary of the flower.
Female gametophytes produce eggs inside the part of the flower where the fruit will eventually develop.