Final answer:
Fern sporophytes in plants produce both eggs and sperm in structures called sporangia. Megaspores develop into female gametophytes while microspores develop into male gametophytes.
Step-by-step explanation:
The organisms that produce both eggs and sperm are called
hermaphrodites. In plants, hermaphroditic structures are found in fern sporophytes. Fern sporophytes are the diploid generation of ferns that produce both eggs and sperm in structures called
sporangia. These sporangia are found on the underside of the fern fronds and produce spores called
megaspores and microspores. The megaspores develop into female gametophytes while the microspores develop into male gametophytes.
Learn more about Reproduction in Plants